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

Srinivasa Ravi via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 01:44:02 PDT 2025


================
@@ -2358,8 +2362,8 @@ def NVVM_WgmmaFenceAlignedOp : NVVM_Op<"wgmma.fence.aligned"> {
   }];
 }
 
-def NVVM_WgmmaGroupSyncAlignedOp : NVVM_Op<"wgmma.commit.group.sync.aligned">,
-  Arguments<(ins )> {
+def NVVM_WgmmaGroupSyncAlignedOp : NVVM_Op<"wgmma.commit.group.sync.aligned",  
+                              [NVVMRequiresSM<90, /*ArchAccelerated*/"true">]> {
----------------
Wolfram70 wrote:

I have marked more of the new Ops for sm_90 and sm_100 in the latest revision, thanks!

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


More information about the llvm-commits mailing list