]> granicus.if.org Git - llvm/commit
AMDGPU: Don't enable all lanes with non-CSR VGPR spills
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 28 May 2019 16:46:02 +0000 (16:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 28 May 2019 16:46:02 +0000 (16:46 +0000)
commite0b950eae9b2739c40e155339c7d0f9350399980
tree31da0376663989e744b569010a1076cd60e77362
parent5571fe4bfcfd0707e7193556ea306699d2dfcd9c
AMDGPU: Don't enable all lanes with non-CSR VGPR spills

If the only VGPRs used for SGPR spilling were not CSRs, this was
enabling all laness and immediately restoring exec. This is the usual
situation in leaf functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361848 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFrameLowering.cpp
test/CodeGen/AMDGPU/callee-frame-setup.ll