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

Amaury Sechet via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 23:35:00 PDT 2016


Author: deadalnix
Date: Thu Apr  7 01:35:00 2016
New Revision: 265643

URL: http://llvm.org/viewvc/llvm-project?rev=265643&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=265643&r1=265642&r2=265643&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp Thu Apr  7 01:35:00 2016
@@ -809,7 +809,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