diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-11-06 17:54:43 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2015-11-06 17:54:43 +0000 |
| commit | 623e6fd46678192f93e14cb07263cc32b341f11a (patch) | |
| tree | 38c0d764b5225ecb1efdd748896a9a35c180e06b /llvm/test/CodeGen/AMDGPU/valu-i1.ll | |
| parent | 1063293a892f8c2d5c089be25c175b25fccf2ea5 (diff) | |
| download | bcm5719-llvm-623e6fd46678192f93e14cb07263cc32b341f11a.tar.gz bcm5719-llvm-623e6fd46678192f93e14cb07263cc32b341f11a.zip | |
AMDGPU: Hack for VS_32 register pressure
For some reason VS_32 ends up factoring into the pressure heuristics
even though we should never see a virtual register with this class.
When SGPRs are reserved for register spilling, this for some reason
triggers reg-crit scheduling.
Setting isAllocatable = 0 may help with this since that seems to remove
it from the default implementation's generated table.
llvm-svn: 252321
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/valu-i1.ll')
| -rw-r--r-- | llvm/test/CodeGen/AMDGPU/valu-i1.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/valu-i1.ll b/llvm/test/CodeGen/AMDGPU/valu-i1.ll index c27702813a8..1cbefba60c9 100644 --- a/llvm/test/CodeGen/AMDGPU/valu-i1.ll +++ b/llvm/test/CodeGen/AMDGPU/valu-i1.ll @@ -78,8 +78,8 @@ exit: ; SI: BB2_3: ; SI: buffer_load_dword -; SI: buffer_store_dword -; SI: v_cmp_eq_i32_e32 vcc, +; SI-DAG: buffer_store_dword +; SI-DAG: v_cmp_eq_i32_e32 vcc, ; SI: s_or_b64 [[OR_SREG:s\[[0-9]+:[0-9]+\]]] ; SI: s_andn2_b64 exec, exec, [[OR_SREG]] ; SI: s_cbranch_execnz BB2_3 |

