[PATCH] D18788: [BlockPlacement] Remove an unnecessary continue. NFC

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 06:56:13 PDT 2016


haicheng created this revision.
haicheng added reviewers: mcrosier, gberry, mssimpso.
haicheng added a subscriber: llvm-commits.
haicheng set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.

continue is at the bottom of the loop.

Repository:
  rL LLVM

http://reviews.llvm.org/D18788

Files:
  lib/CodeGen/MachineBlockPlacement.cpp

Index: lib/CodeGen/MachineBlockPlacement.cpp
===================================================================
--- lib/CodeGen/MachineBlockPlacement.cpp
+++ lib/CodeGen/MachineBlockPlacement.cpp
@@ -811,7 +811,6 @@
       // 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18788.52680.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160405/858e753d/attachment.bin>


More information about the llvm-commits mailing list