[llvm] [SCEV] Try to re-use existing LCSSA phis when expanding SCEVAddRecExpr. (PR #147214)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 06:42:26 PDT 2025
================
@@ -1262,6 +1280,11 @@ Value *SCEVExpander::visitAddRecExpr(const SCEVAddRecExpr *S) {
return V;
}
+ // If there S is expanded outside the defining loop, check if there is a
----------------
nikic wrote:
```suggestion
// If S is expanded outside the defining loop, check if there is a
```
https://github.com/llvm/llvm-project/pull/147214
More information about the llvm-commits
mailing list