[llvm-branch-commits] [llvm] [AMDGPU] Intrinsic for launching whole wave functions (PR #145859)

Diana Picus via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 30 03:44:57 PDT 2025


================
@@ -297,8 +297,13 @@ namespace CallingConv {
 /// directly or indirectly via a call-like instruction.
 constexpr bool isCallableCC(CallingConv::ID CC) {
   switch (CC) {
+  // Called with special intrinsics:
+  // llvm.amdgcn.cs.chain
   case CallingConv::AMDGPU_CS_Chain:
   case CallingConv::AMDGPU_CS_ChainPreserve:
+  // llvm.amdgcn.call.whole.wave
+  case CallingConv::AMDGPU_Gfx_WholeWave:
----------------
rovka wrote:

Yeah, that's in the [previous patch](https://github.com/llvm/llvm-project/pull/145858) in this stack. I've added some more tests like you requested :)

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


More information about the llvm-branch-commits mailing list