Commit 72c89429 authored by guruhegde's avatar guruhegde

Add updated fast_flows.c

parent 05ab692a
......@@ -69,8 +69,7 @@ void BlockPredication::movePhiNodeToPredicateBlock(BasicBlock * PredBB,
auto PredPhi = Builder.CreatePHI(PN->getType(), 2);
auto BB = pred_begin(PredBB);
PredPhi->addIncoming(PN->getIncomingValue(0), *BB);
PredPhi->addIncoming(PN->getIncomingValue(0), *BB++);
PredPhi->addIncoming(PN->getIncomingValue(1), *BB);
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment