[PATCH] D22320: Codegen: Tail Duplication: Only duplicate into layout pred if it is a CFG Pred.
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 15:51:27 PDT 2016
echristo added inline comments.
================
Comment at: lib/CodeGen/TailDuplicator.cpp:817
@@ -816,2 +816,3 @@
if (PrevBB->succ_size() == 1 &&
+ *PrevBB->succ_begin() == TailBB &&
!TII->AnalyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond, true) &&
----------------
Can you update and elaborate on the comment for this?
Repository:
rL LLVM
http://reviews.llvm.org/D22320
More information about the llvm-commits
mailing list