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

Arseniy Obolenskiy llvmlistbot at llvm.org
Sun Oct 4 21:37:31 PDT 2026


================
@@ -256,6 +257,24 @@ static LogicalResult setDereferenceableAttr(const llvm::MDNode *node,
   return success();
 }
 
+/// Fails on multi-range metadata since ConstantRangeAttr holds one range.
+static LogicalResult setRangeAttr(const llvm::MDNode *node, Operation *op) {
+  auto loadOp = dyn_cast<LoadOp>(op);
----------------
aobolensk wrote:

switched to RangeOpInterface

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


More information about the Mlir-commits mailing list