diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 25109abae27..a1f80d5282e 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp @@ -596,8 +596,8 @@ bool MachineLICM::IsGuaranteedToExecute(MachineBasicBlock *BB) { CurLoop->getExitingBlocks(CurrentLoopExitingBlocks); for (unsigned i = 0, e = CurrentLoopExitingBlocks.size(); i != e; ++i) if (!DT->dominates(BB, CurrentLoopExitingBlocks[i])) { - SpeculationState = SpeculateTrue; - return false; + SpeculationState = SpeculateTrue; + return false; } }