Changeset 4688


Ignore:
Timestamp:
Jul 22, 2015, 10:25:31 AM (4 years ago)
Author:
cameron
Message:

Move while summary calculation before phi out

File:
1 edited

Legend:

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

    r4687 r4688  
    500500    BasicBlock * whileBodyFinalBlock = mBuilder->GetInsertBlock();
    501501
     502    if (mCarryManager->blockHasCarries()) {
     503        mCarryManager->generateCarryOutSummaryCodeIfNeeded();
     504    }
    502505    mCarryManager->extendCarryDataPhisAtWhileBodyFinalBlock(whileBodyFinalBlock);
    503506
     
    516519
    517520    mBuilder->SetInsertPoint(whileEndBlock);
    518     if (mCarryManager->blockHasCarries()) {
    519         mCarryManager->generateCarryOutSummaryCodeIfNeeded();
    520     }
    521521    --mWhileDepth;
    522522
Note: See TracChangeset for help on using the changeset viewer.