[PATCH] D20604: Codegen: Don't tail-duplicate blocks with un-analyzable fallthrough.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 17:08:14 PDT 2016


echristo added inline comments.

================
Comment at: lib/CodeGen/TailDuplicator.cpp:596
@@ +595,3 @@
+  // If the block to be duplicated ends in an unanalyzable fallthrough, don't
+  // duplicate it.
+  MachineBasicBlock *PredTBB = nullptr, *PredFBB = nullptr;
----------------
Yep!


http://reviews.llvm.org/D20604





More information about the llvm-commits mailing list