[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 5e7daa8173bb6b4c0bfc374bfa32087bf026cc23..df7c7b90f037c279b9dacccd3e390c3052e243b8 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) {
     if (!HasLoopingSucc) {
+      // Restore the old exiting state, no viable looping successor was found.
       ExitingBB = OldExitingBB;
       BestExitEdgeFreq = OldBestExitEdgeFreq;
       continue;
       ExitingBB = OldExitingBB;
       BestExitEdgeFreq = OldBestExitEdgeFreq;
       continue;