[llvm] [NVPTX] Basic support for "grid_constant" (PR #96125)

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 12:50:39 PDT 2024


================
@@ -1596,6 +1596,11 @@ def int_nvvm_ptr_gen_to_param: Intrinsic<[llvm_anyptr_ty],
                                    [IntrNoMem, IntrSpeculatable, IntrNoCallback],
                                    "llvm.nvvm.ptr.gen.to.param">;
 
+// sm70+, PTX7.7+
+def int_nvvm_ptr_param_to_gen: DefaultAttrsIntrinsic<[llvm_anyptr_ty],
+                                     [llvm_anyptr_ty],
+                                   [IntrNoMem, IntrSpeculatable, IntrNoCallback]>;
----------------
jlebar wrote:

Why doesn't this have LLVM text like the others (e.g. `"llvm.nvvm.ptr.gen.to.param"`)?

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


More information about the llvm-commits mailing list