[PATCH] D104689: [LoopDeletion] Benefit from branches by undef conditions when symbolically executing 1st iteration
Juneyoung Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 23 09:46:16 PDT 2021
aqjune added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopDeletion.cpp:355
+ if (L->contains(IfTrue) && L->contains(IfFalse))
+ MarkLiveEdge(BB, IfTrue);
+ continue;
----------------
If BB -> IfFalse edge is already live, would it be beneficial if IfFalse is chosen instead?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104689/new/
https://reviews.llvm.org/D104689
More information about the llvm-commits
mailing list