summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-04-15 13:26:41 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-04-15 13:26:41 +0000
commitcfb2b9d755584dfc74b1a7e3041b1fa5a10b3209 (patch)
tree88a637df8beaf11ce61e68c2f7923d68f6df16b8
parent9a512a48b2d2f9a035b29d404f39579de7a7a273 (diff)
downloadbcm5719-llvm-cfb2b9d755584dfc74b1a7e3041b1fa5a10b3209.tar.gz
bcm5719-llvm-cfb2b9d755584dfc74b1a7e3041b1fa5a10b3209.zip
[MBP] Sink a comment into the if block to which it pertains. This makes
the content of the comment make much more sense. llvm-svn: 235007
-rw-r--r--llvm/lib/CodeGen/MachineBlockPlacement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
index 5e7daa8173b..df7c7b90f03 100644
--- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -724,8 +724,8 @@ MachineBlockPlacement::findBestLoopExit(MachineFunction &F, MachineLoop &L,
}
}
- // 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;
OpenPOWER on IntegriCloud