Ignore:
Timestamp:
Jul 28, 2015, 11:50:42 AM (4 years ago)
Author:
cameron
Message:

Carry manager bit packing partially working, but disabled by default.

File:
1 edited

Legend:

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

    r4696 r4703  
    187187    compileBlock(mainScope);
    188188   
     189    mCarryManager->leaveScope();
     190   
     191   
    189192    mCarryManager->generateBlockNoIncrement();
    190193
     
    423426    mBuilder->SetInsertPoint(ifBodyBlock);
    424427   
    425    
    426     ++mIfDepth;
     428    mCarryManager->initializeCarryDataAtIfEntry();
    427429    compileBlock(ifBody);
    428     --mIfDepth;
    429430    if (mCarryManager->blockHasCarries()) {
    430431        mCarryManager->generateCarryOutSummaryCodeIfNeeded();
     
    444445    }
    445446    // Create the phi Node for the summary variable, if needed.
    446     mCarryManager->addSummaryPhiIfNeeded(ifEntryBlock, ifBodyFinalBlock);
     447    mCarryManager->buildCarryDataPhisAfterIfBody(ifEntryBlock, ifBodyFinalBlock);
     448    //mCarryManager->addSummaryPhiIfNeeded(ifEntryBlock, ifBodyFinalBlock);
    447449    mCarryManager->leaveScope();
    448450}
Note: See TracChangeset for help on using the changeset viewer.