Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5436 r5440  
    292292        pxDriver.addKernelCall(matchCountK, {MergedResults}, {});
    293293        pxDriver.generatePipelineIR();
    294         Value * matchedLineCount = matchCountK.getScalarField("matchedLineCount");
     294        idb->setKernel(&matchCountK);
     295        Value * matchedLineCount = idb->getScalarField("matchedLineCount");
    295296        matchedLineCount = idb->CreateZExt(matchedLineCount, int64Ty);
    296297        idb->CreateRet(matchedLineCount);
Note: See TracChangeset for help on using the changeset viewer.