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

Guray Ozen via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 23:10:41 PDT 2025


================
@@ -55,6 +55,20 @@ def GPUTargetAttrInterface : AttrInterface<"TargetAttrInterface"> {
   ];
 }
 
+def GPUTargetAttrVerifyInterface : AttrInterface<"TargetAttrVerifyInterface"> {
+  let description = [{
+    Interface for GPU target attributes that need to verify the target attribute
+    for the given GPU module.
----------------
grypp wrote:

```suggestion
    Interface for GPU target attributes that verify the target attribute
    of a given GPU module.
```

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


More information about the llvm-commits mailing list