[llvm] [AMDGPU] ISel & PEI for whole wave functions (PR #145858)
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 07:22:32 PDT 2025
================
@@ -564,6 +564,10 @@ declare riscv_vls_cc(32768) void @riscv_vls_cc_32768()
; CHECK: declare riscv_vls_cc(32768) void @riscv_vls_cc_32768()
declare riscv_vls_cc(65536) void @riscv_vls_cc_65536()
; CHECK: declare riscv_vls_cc(65536) void @riscv_vls_cc_65536()
+declare cc124 void @f.cc124(i1)
+; CHECK: declare amdgpu_gfx_whole_wave void @f.cc124(i1)
----------------
rovka wrote:
That's because `amdgpu_gfx_whole_wave` has the enum value 124 (you can see the same kind of test in this file for our other calling conventions, e.g. `amdgpu_kernel` is `cc91` because we have `AMDGPU_KERNEL = 91` in `CallingConv.h`).
https://github.com/llvm/llvm-project/pull/145858
More information about the llvm-commits
mailing list