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

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 16:51:45 PDT 2016

iteratee 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;
echristo wrote:
> Might want to comment that this matches the other test as well.
Do you mean that it matches the test in MachineBlockPlacement.cpp?


More information about the llvm-commits mailing list