[Mlir-commits] [mlir] [MLIR][NVVM] Fix valid range of ord in tensormap.replace op (PR #202853)

Srinivasa Ravi llvmlistbot at llvm.org
Thu Jun 11 01:19:25 PDT 2026


================
@@ -6898,7 +6898,7 @@ def NVVM_TensormapReplaceOp : NVVM_VoidIntrinsicOp<"tensormap.replace",
     TensormapFieldAttr:$field,
     AnyTypeOf<[LLVM_PointerGlobal, LLVM_PointerShared]>:$addr,
     Optional<AnyTypeOf<[I64, I32]>>:$new_value,
-    OptionalAttr<ConfinedAttr<I32Attr, [IntMinValue<1>, IntMaxValue<5>]>>:$ord,
+    OptionalAttr<ConfinedAttr<I32Attr, [IntMinValue<0>, IntMaxValue<4>]>>:$ord,
----------------
Wolfram70 wrote:

Yep!

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


More information about the Mlir-commits mailing list