[llvm] [mlir] [MLIR][NVVM] Add NVVMRequiresSM op traits (PR #126886)

Guray Ozen via llvm-commits llvm-commits at lists.llvm.org
Sun May 18 23:52:07 PDT 2025


================
@@ -3136,7 +3136,7 @@ def NVVM_Tcgen05CommitOp : NVVM_Op<"tcgen05.commit", [NVVMRequiresSM<100, "true"
   }];
 }
 
-def NVVM_Tcgen05ShiftOp : NVVM_Op<"tcgen05.shift", [NVVMRequiresSM<100, "true", "false">]> {
+def NVVM_Tcgen05ShiftOp : NVVM_Op<"tcgen05.shift", [NVVMRequiresSMa<[100, 101, 103]>]> {
----------------
grypp wrote:

Nice!  

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


More information about the llvm-commits mailing list