[Mlir-commits] [mlir] [MLIR][LLVM] Support inrange in GEP (PR #220424)

Letu Ren llvmlistbot at llvm.org
Tue Sep 22 13:51:30 PDT 2026


================
@@ -557,6 +557,22 @@ llvm.func @trivial_get_element_ptr() {
 
 // -----
 
+// inrange is defined relative to the GEP result, so a zero-index GEP is not a
+// no-op. mem2reg must not forward the GEP to the alloca.
----------------
FantasqueX wrote:

Fixed.

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


More information about the Mlir-commits mailing list