summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-14 00:11:13 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-14 00:11:13 +0000
commit23e4df6a598e6e0d19b064080ef38961c9af6e95 (patch)
tree3dc605696a508d18f65ac011b06c1e082ffac4b5 /llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
parentf64b8487f98125ec9c878656ef12081b67f04bb0 (diff)
downloadbcm5719-llvm-23e4df6a598e6e0d19b064080ef38961c9af6e95.tar.gz
bcm5719-llvm-23e4df6a598e6e0d19b064080ef38961c9af6e95.zip
AMDGPU: Detect kernarg segment pointer
This is necessary to pass the kernarg segment pointer to callee functions. Also don't unconditionally enable for kernels. llvm-svn: 307978
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.ll2
1 files changed, 1 insertions, 1 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 3dda73bc336..b03713a8960 100644
--- a/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
+++ b/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll
@@ -118,7 +118,7 @@ attributes #8 = {"amdgpu-waves-per-eu"="5,10"}
; CHECK-LABEL: {{^}}exactly_10:
; CHECK: SGPRBlocks: 1
; CHECK: VGPRBlocks: 5
-; CHECK: NumSGPRsForWavesPerEU: 13
+; CHECK: NumSGPRsForWavesPerEU: 12
; CHECK: NumVGPRsForWavesPerEU: 24
define amdgpu_kernel void @exactly_10() #9 {
%val0 = load volatile float, float addrspace(1)* @var
OpenPOWER on IntegriCloud