[llvm] r265407 - [BlockPlacement] Remove an unnecessary continue

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 08:37:09 PDT 2016


Author: haicheng
Date: Tue Apr  5 10:37:08 2016
New Revision: 265407

URL: http://llvm.org/viewvc/llvm-project?rev=265407&view=rev
Log:
[BlockPlacement] Remove an unnecessary continue

NFC.

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=265407&r1=265406&r2=265407&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Tue Apr  5 10:37:08 2016
@@ -811,7 +811,6 @@ MachineBlockPlacement::findBestLoopExit(
       // Restore the old exiting state, no viable looping successor was found.
       ExitingBB = OldExitingBB;
       BestExitEdgeFreq = OldBestExitEdgeFreq;
-      continue;
     }
   }
   // Without a candidate exiting block or with only a single block in the




More information about the llvm-commits mailing list