Ignore:
Timestamp:
Sep 7, 2017, 4:56:56 PM (21 months ago)
Author:
nmedfort
Message:

Partial check-in for avoidance of compiling Pablo/LLVM code to determine the Kernel struct type when using a cached object. Inactive RE alternation minimization check in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carrypack_manager.cpp

    r5510 r5630  
    127127    mCarryGroup.resize(assignDefaultCarryGroups(kernel->getEntryBlock()));
    128128
    129     Type * const carryStateTy = analyse(iBuilder, kernel->getEntryBlock());
    130 
    131     kernel->addScalar(carryStateTy, "carries");
    132 
    133 //    iBuilder->CallPrintInt("carry state size:", ConstantExpr::getSizeOf(carryStateTy));
     129    kernel->setCarryDataTy(analyse(iBuilder, mCurrentScope));
     130
     131    kernel->addScalar(kernel->getCarryDataTy(), "carries");
    134132
    135133    if (mHasLoop) {
Note: See TracChangeset for help on using the changeset viewer.