Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.cpp

    r5206 r5217  
    119119    recordNum_input_parm->setName("lineNum");
    120120   
    121     Constant * matchProcessor;
     121    Constant * matchProcessor = nullptr;
    122122    switch (mGrepType) {
    123123        case GrepType::Normal:
     
    130130            matchProcessor = m->getOrInsertFunction("insert_property_values", Type::getVoidTy(ctxt), T, T, T, S, nullptr);
    131131            break;
    132 
     132        default: llvm_unreachable("unknown grep type");
    133133    }
    134134    iBuilder->SetInsertPoint(BasicBlock::Create(ctxt, "entry", function,0));
     
    213213            iBuilder->CreateCall(matchProcessor, std::vector<Value *>({matchRecordNum_phi, matchRecordStart_phi, matchRecordEnd, fileBuf}));
    214214            break;
     215        default: llvm_unreachable("unknown grep type");
    215216    }
    216217   
Note: See TracChangeset for help on using the changeset viewer.