[llvm-branch-commits] [llvm] [SeparateConstOffsetFromGEP] Preserve inbounds flag based on ValueTracking (PR #130617)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 10 08:50:45 PDT 2025


================
@@ -24,3 +24,26 @@ entry:
   store float %3, ptr %arrayidx.dst, align 4
   ret void
 }
+
+; All offsets must be positive, so inbounds can be preserved.
----------------
arsenm wrote:

Passes for me locally (and fast, so I'm surprised online times out)

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


More information about the llvm-branch-commits mailing list