[llvm-branch-commits] [llvm] [LSR] Preserve LCSSA in SCEVRewriter (PR #191665)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 21 12:54:22 PDT 2026


================
@@ -6165,7 +6165,7 @@ LSRInstance::LSRInstance(Loop *L, IVUsers &IU, ScalarEvolution &SE,
       MSSAU(MSSAU), AMK(PreferredAddresingMode.getNumOccurrences() > 0
                             ? PreferredAddresingMode
                             : TTI.getPreferredAddressingMode(L, &SE)),
-      Rewriter(SE, "lsr", false), BaselineCost(L, SE, TTI, AMK) {
----------------
arsenm wrote:

Should this pass in if the LCSSA is already valid? 

https://github.com/llvm/llvm-project/pull/191665


More information about the llvm-branch-commits mailing list