[all-commits] [llvm/llvm-project] 459473: [AMDGPU] Tail call support for whole wave functions
Diana Picus via All-commits
all-commits at lists.llvm.org
Thu Jun 26 01:59:14 PDT 2025
Branch: refs/heads/users/rovka/whole-wave-funcs-tail-call
Home: https://github.com/llvm/llvm-project
Commit: 4594737e5fef2059ec898b781e4a9a1a1e8de169
https://github.com/llvm/llvm-project/commit/4594737e5fef2059ec898b781e4a9a1a1e8de169
Author: Diana Picus <diana-magda.picus at amd.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll
M llvm/test/CodeGen/AMDGPU/whole-wave-functions-pei.mir
M llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
M llvm/test/Verifier/AMDGPU/intrinsic-amdgcn-call-whole-wave.ll
Log Message:
-----------
[AMDGPU] Tail call support for whole wave functions
Support tail calls to whole wave functions (trivial) and from whole wave
functions (slightly more involved because we need a new pseudo for the
tail call return, that patches up the EXEC mask).
Move the expansion of whole wave function return pseudos (regular and
tail call returns) to prolog epilog insertion, since that's where we
patch up the EXEC mask.
Unnecessary register spills will be dealt with in a future patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list