From cfb2b9d755584dfc74b1a7e3041b1fa5a10b3209 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 15 Apr 2015 13:26:41 +0000 Subject: [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 --- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp') 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; -- cgit v1.2.3