[llvm] [LLVM][NVPTX]: Add intrinsic for setmaxnreg (PR #77289)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 04:14:58 PST 2024
================
@@ -4710,4 +4710,10 @@ def int_nvvm_is_explicit_cluster
[IntrNoMem, IntrSpeculatable, NoUndef<RetIndex>],
"llvm.nvvm.is_explicit_cluster">;
+// Setmaxnreg intrinsic
+def int_nvvm_setmaxnreg_sync_aligned_u32
+ : DefaultAttrsIntrinsic<[], [llvm_i32_ty, llvm_i32_ty],
+ [IntrConvergent, IntrNoMem, IntrHasSideEffects, ImmArg<ArgIndex<1>>],
----------------
joker-eph wrote:
Why is this intrinsic convergent?
https://github.com/llvm/llvm-project/pull/77289
More information about the llvm-commits
mailing list