[all-commits] [llvm/llvm-project] 1a8c57: [AMDGPU] We would need FP if there is call and cal...

RamNalamothu via All-commits all-commits at lists.llvm.org
Tue Jul 27 22:43:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a8c57179a129300c2b0c20032286ded8c7af77c
      https://github.com/llvm/llvm-project/commit/1a8c57179a129300c2b0c20032286ded8c7af77c
  Author: RamNalamothu <VenkataRamanaiah.Nalamothu at amd.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/gfx-callable-preserved-registers.ll
    R llvm/test/CodeGen/AMDGPU/need-fp-from-csr-vgpr-spill.ll
    A llvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll

  Log Message:
  -----------
  [AMDGPU] We would need FP if there is call and caller save VGPR spills

Since https://reviews.llvm.org/D98319, determineCalleeSavesSGPR() needs
to consider caller save VGPR spills as well while anticipating if we
require FP.

Fixes: SWDEV-295978

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D106758




More information about the All-commits mailing list