[PATCH] D22696: [CodeGenPrep] Skip merging empty case blocks

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 08:55:46 PDT 2016


junbuml added inline comments.

================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:426
@@ +425,3 @@
+        if (PN->getBasicBlockIndex(BB) >= 0) {
+          IsIncomingBlock = true;
+          break;
----------------
rengolin wrote:
> Why not just continue here?
My intention was to perform continue for the outer for loop, not for the inner while loop.


https://reviews.llvm.org/D22696





More information about the llvm-commits mailing list