[llvm] r235007 - [MBP] Sink a comment into the if block to which it pertains. This makes
Chandler Carruth
chandlerc at gmail.com
Wed Apr 15 06:26:41 PDT 2015
Author: chandlerc
Date: Wed Apr 15 08:26:41 2015
New Revision: 235007
URL: http://llvm.org/viewvc/llvm-project?rev=235007&view=rev
Log:
[MBP] Sink a comment into the if block to which it pertains. This makes
the content of the comment make much more sense.
Modified:
llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
Modified: llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp?rev=235007&r1=235006&r2=235007&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Wed Apr 15 08:26:41 2015
@@ -724,8 +724,8 @@ MachineBlockPlacement::findBestLoopExit(
}
}
- // Restore the old exiting state, no viable looping successor was found.
if (!HasLoopingSucc) {
+ // Restore the old exiting state, no viable looping successor was found.
ExitingBB = OldExitingBB;
BestExitEdgeFreq = OldBestExitEdgeFreq;
continue;
More information about the llvm-commits
mailing list