[Mlir-commits] [mlir] [MLIR][NVVM] Update SM version requirements of Ops (PR #192257)

Durgadoss R llvmlistbot at llvm.org
Fri Apr 17 01:28:00 PDT 2026


================
@@ -6715,7 +6715,8 @@ def TensormapFieldValueAttr :
     TensormapSwizzleModeAttr, TensormapSwizzleAtomicityAttr, 
     TensormapFillModeAttr]>;
 
-def NVVM_TensormapReplaceOp : NVVM_VoidIntrinsicOp<"tensormap.replace"> {
+def NVVM_TensormapReplaceOp : NVVM_VoidIntrinsicOp<"tensormap.replace",
+    [NVVMRequiresSMaOrSMf<[90, 103], [100, 101, 110, 120]>]> {
----------------
durga4github wrote:

Can this be specified as a list of two-traits or this has to be a single trait with two lists?
i.e. would something like this work?

```
[
 NVVMRequiresSMa<[90, 103]>,
 NVVMRequiresSMf<[100, 101, 110, 120]>
]> {
```

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


More information about the Mlir-commits mailing list