[llvm] [polly] [llvm][ConstraintElimination]Insert ConditionFact into loop header in case of monotonic induction variables (PR #112080)
Grigory Pastukhov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 10:11:16 PST 2024
================
@@ -900,10 +905,88 @@ static void dumpConstraint(ArrayRef<int64_t> C,
}
#endif
+static Value *getStartValueFromAddRec(PHINode &PN, Loop &L,
+ ScalarEvolution &SE) {
+ auto *AR = dyn_cast_or_null<SCEVAddRecExpr>(SE.getSCEV(&PN));
----------------
grigorypas wrote:
Fixed
https://github.com/llvm/llvm-project/pull/112080
More information about the llvm-commits
mailing list