[PATCH] D132443: [LSR] Fold terminal condition to other IV when possible
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 27 14:57:14 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:6604
+ // TODO: Can we do something for greater than and less than?
+ // Terminating condition is foldable when it is an eq/neq icmp
+ BranchInst *BI = cast<BranchInst>(LoopLatch->getTerminator());
----------------
neq -> ne
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132443/new/
https://reviews.llvm.org/D132443
More information about the llvm-commits
mailing list