[all-commits] [llvm/llvm-project] 6ce379: [AMDGPU] Tail call support for whole wave functions

Diana Picus via All-commits all-commits at lists.llvm.org
Fri Jun 27 04:59:29 PDT 2025


  Branch: refs/heads/users/rovka/whole-wave-funcs-tail-call
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ce379c3c2ecc75932d0e98d4defca7724ebd6a8
      https://github.com/llvm/llvm-project/commit/6ce379c3c2ecc75932d0e98d4defca7724ebd6a8
  Author: Diana Picus <diana-magda.picus at amd.com>
  Date:   2025-06-27 (Fri, 27 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

  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.


  Commit: 7b68ddf3868934113521002cc0edeea39565fc8c
      https://github.com/llvm/llvm-project/commit/7b68ddf3868934113521002cc0edeea39565fc8c
  Author: Diana Picus <diana-magda.picus at amd.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll

  Log Message:
  -----------
  Fix CC in test


Compare: https://github.com/llvm/llvm-project/compare/4594737e5fef...7b68ddf38689

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