[llvm] [amdgpu] Add llvm.amdgcn.init.whole.wave intrinsic (PR #105822)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 11:56:43 PDT 2024


================
@@ -208,6 +208,20 @@ def int_amdgcn_init_exec_from_input : Intrinsic<[],
   [IntrConvergent, IntrHasSideEffects, IntrNoMem, IntrNoCallback,
    IntrNoFree, IntrWillReturn, ImmArg<ArgIndex<1>>]>;
 
+// Sets the function into whole-wave-mode and returns whether the lane was
+// active when entering the function. A branch depending on this return will
----------------
arsenm wrote:

If we add the exec on entry to the function ABI (as we probably need to), can we remove the special calling convention requirement? 

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


More information about the llvm-commits mailing list