[llvm] [NVVM] Add various intrinsic attrs, cleanup and consolidate td (PR #153436)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 16:52:50 PDT 2025


================
@@ -793,38 +793,49 @@ class NVVMBuiltin :
            "NVVMBuiltin must be a NVVM intrinsic starting with 'int_nvvm_'";
 }
 
+class PureIntrinsic<list<LLVMType> ret_types,
+                    list<LLVMType> param_types = [],
+                    list<IntrinsicProperty> intr_properties = [],
+                    string name = ""> :
+  DefaultAttrsIntrinsic<ret_types, param_types,
+                        intr_properties # [IntrNoMem, IntrSpeculatable], name> {}
----------------
Artem-B wrote:

TIL that `#` works for lists, too. Cool.

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


More information about the llvm-commits mailing list