[llvm] [VPlan] Move IV predicate handling to VPlan. (PR #192876)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 10:43:51 PDT 2026
================
@@ -145,6 +145,16 @@ struct VPlanTransforms {
const SmallPtrSetImpl<const PHINode *> &FixedOrderRecurrences,
const SmallPtrSetImpl<PHINode *> &InLoopReductions, bool AllowReordering);
+ /// Finalize SCEV predicates by adding induction predicates from \p Plan to
+ /// \p PSE and checking constraints. Returns false if predicated IVs have
+ /// outside-loop uses via ExitingIVValue, if SCEV predicate complexity exceeds
+ /// \p SCEVCheckThreshold, or if predicates are needed but \p OptForSize is
+ /// true.
----------------
fhahn wrote:
Yep, that should match the code, restructured, thanks
https://github.com/llvm/llvm-project/pull/192876
More information about the llvm-commits
mailing list