Ignore:
Timestamp:
Jul 29, 2015, 3:53:05 PM (4 years ago)
Author:
cameron
Message:

Fix to generate summary-phi nodes only when ifDepth > 1.

File:
1 edited

Legend:

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

    r4705 r4706  
    262262   
    263263    Value * carryItem = getCarryPack(packIndex);
    264     if (carryRangeSize == 64) {
     264    if (carryRangeSize == PACK_SIZE) {
    265265        assert(carryOffset == 0);
    266266        return carryItem;
     
    510510    }
    511511#endif
    512     if (mCarryInfo->explicitSummaryRequired()) {
     512    if (mCarryInfo->getIfDepth() > 1) {
    513513        const unsigned summaryPackIndex = summaryPosition();
    514514        PHINode * summary_phi = mBuilder->CreatePHI(mCarryPackType, 2, "summary");
Note: See TracChangeset for help on using the changeset viewer.