[llvm] [Passes] Run SimpleLoopUnswitch after introducing invariant branches. (PR #81271)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 05:42:55 PDT 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) {
----------------
fhahn wrote:
Added, thanks!
https://github.com/llvm/llvm-project/pull/81271
More information about the llvm-commits
mailing list