[Mlir-commits] [mlir] [MLIR][LLVM] Add range metadata to llvm.load (PR #228571)

Arseniy Obolenskiy llvmlistbot at llvm.org
Sun Oct 4 21:42:09 PDT 2026


================
@@ -302,6 +302,16 @@ define void @deref(i64 %0) {
 
 ; // -----
 
+; CHECK: warning: unhandled metadata: ![[RANGE:[0-9]+]] = !{i32 0, i32 2, i32 4, i32 6} on %{{.*}} = load i32, ptr %{{.*}}, align 4, !range ![[RANGE]]
----------------
aobolensk wrote:

It is valid, but LLVM IR importer now merges the pairs into one range, moved the test to instructions.ll

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


More information about the Mlir-commits mailing list