[MBP] Sink a comment into the if block to which it pertains. This makes
authorChandler Carruth <chandlerc@gmail.com>
Wed, 15 Apr 2015 13:26:41 +0000 (13:26 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 15 Apr 2015 13:26:41 +0000 (13:26 +0000)
the content of the comment make much more sense.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235007 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBlockPlacement.cpp

index 5e7daa8..df7c7b9 100644 (file)
@@ -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;