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

Diana Picus via All-commits all-commits at lists.llvm.org
Thu Jul 17 02:06:15 PDT 2025


  Branch: refs/heads/users/rovka/whole-wave-funcs-tail-call
  Home:   https://github.com/llvm/llvm-project
  Commit: 790c596421e5f1f8b65ed3f713b3a8a3f4403e74
      https://github.com/llvm/llvm-project/commit/790c596421e5f1f8b65ed3f713b3a8a3f4403e74
  Author: Diana Picus <diana-magda.picus at amd.com>
  Date:   2025-07-17 (Thu, 17 Jul 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: c854a1b10fbf1ff7be6822c72ccfa194945bfca5
      https://github.com/llvm/llvm-project/commit/c854a1b10fbf1ff7be6822c72ccfa194945bfca5
  Author: Diana Picus <diana-magda.picus at amd.com>
  Date:   2025-07-17 (Thu, 17 Jul 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/7b68ddf38689...c854a1b10fbf

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