aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAustin Kerbow <Austin.Kerbow@amd.com>2020-07-13 15:38:29 -0700
committerAustin Kerbow <Austin.Kerbow@amd.com>2020-07-28 11:53:02 -0700
commitadeeac9d5a322a751011d4624152317cb43419d9 (patch)
tree6466b96443cef292f2d474035fe82a80a5906393 /clang/lib/CodeGen/CodeGenFunction.cpp
parent834133c950fce120d0378d09718d32a320cbcd72 (diff)
downloadllvm-adeeac9d5a322a751011d4624152317cb43419d9.zip
llvm-adeeac9d5a322a751011d4624152317cb43419d9.tar.gz
llvm-adeeac9d5a322a751011d4624152317cb43419d9.tar.bz2
[AMDGPU] Spill CSR VGPR which is reserved for SGPR spills
Update logic for reserving VGPR for SGPR spills. A CSR VGPR being reserved for SGPR spills could be clobbered if there were no free lower VGPR's available. Create a stack object so that it will be spilled in the prologue. Also adds more tests. Differential Revision: https://reviews.llvm.org/D83730
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions