diff options
author | Marek Olsak <marek.olsak@amd.com> | 2016-12-09 19:49:48 +0000 |
---|---|---|
committer | Marek Olsak <marek.olsak@amd.com> | 2016-12-09 19:49:48 +0000 |
commit | 693e9be9181eb8b3cc91e254a2acb49accafbd9c (patch) | |
tree | ab20f69676574812c4cb167ea1e0a44a85374fbc /llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll | |
parent | 91f22fbf4f5285586dfe8ca5e09a1880e82a2eb3 (diff) | |
download | bcm5719-llvm-693e9be9181eb8b3cc91e254a2acb49accafbd9c.tar.gz bcm5719-llvm-693e9be9181eb8b3cc91e254a2acb49accafbd9c.zip |
AMDGPU/SI: Don't reserve FLAT_SCR on non-HSA targets & without stack objects
Summary: This frees 2 scalar registers.
Reviewers: tstellarAMD
Subscribers: qcolombet, arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye
Differential Revision: https://reviews.llvm.org/D27150
llvm-svn: 289261
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll b/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll index 86c22540973..4f4efccc226 100644 --- a/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll +++ b/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll @@ -116,9 +116,9 @@ attributes #8 = {"amdgpu-waves-per-eu"="5,10"} ; Exactly 10 waves per execution unit. ; CHECK-LABEL: {{^}}exactly_10: -; CHECK: SGPRBlocks: 2 +; CHECK: SGPRBlocks: 1 ; CHECK: VGPRBlocks: 5 -; CHECK: NumSGPRsForWavesPerEU: 19 +; CHECK: NumSGPRsForWavesPerEU: 13 ; CHECK: NumVGPRsForWavesPerEU: 24 define void @exactly_10() #9 { %val0 = load volatile float, float addrspace(1)* @var |