[llvm] [polly] [SCEVExp] Use Builder.CreateBinOp in InsertBinOp. (PR #154148)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 01:55:57 PDT 2026
================
@@ -648,6 +650,18 @@ void IslNodeBuilder::createForParallel(__isl_take isl_ast_node *For) {
}
IDToValue[IteratorID] = IV;
+ // Also update OutsideLoopIterations to use values from the subfunction.
----------------
fhahn wrote:
@Meinersbur It looks like Polly is expanding SCEVs from one function and moving/inserting them in another function, which can cause issues when we simplify to a value from the original function, which cannot be used in the different function.
This is an attempt to fix up after the fact, not sure if there's a better way to do this.
https://github.com/llvm/llvm-project/pull/154148
More information about the llvm-commits
mailing list