[llvm] [Passes] Run SimpleLoopUnswitch after introducing invariant branches. (PR #81271)
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 09:21:42 PST 2024
================
@@ -981,14 +984,15 @@ void IVVisitor::anchor() { }
/// Simplify instructions that use this induction variable
/// by using ScalarEvolution to analyze the IV's recurrence.
-bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, DominatorTree *DT,
- LoopInfo *LI, const TargetTransformInfo *TTI,
- SmallVectorImpl<WeakTrackingVH> &Dead,
- SCEVExpander &Rewriter, IVVisitor *V) {
----------------
alinas wrote:
Same here, add a comment on what the pair return stands for.
https://github.com/llvm/llvm-project/pull/81271
More information about the llvm-commits
mailing list