diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-08-02 01:52:45 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-08-02 01:52:45 +0000 |
commit | 8e8f8f43b043b1839973fcc28694ca8d220a2137 (patch) | |
tree | f7a857bfcd95c3eb2e3d235938ffdcf0df62a6ae /llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll | |
parent | 1d6317c3ad5d16355f2a261ff8bdda78f76357b5 (diff) | |
download | bcm5719-llvm-8e8f8f43b043b1839973fcc28694ca8d220a2137.tar.gz bcm5719-llvm-8e8f8f43b043b1839973fcc28694ca8d220a2137.zip |
AMDGPU: Fix clobbering CSR VGPRs when spilling SGPR to it
llvm-svn: 309783
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll b/llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll index 60616639ea8..7c39831e73d 100644 --- a/llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll +++ b/llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll @@ -146,7 +146,7 @@ define void @use_stack1() #1 { } ; GCN-LABEL: {{^}}indirect_use_stack: -; GCN: ScratchSize: 2120 +; GCN: ScratchSize: 2124 define void @indirect_use_stack() #1 { %alloca = alloca [16 x i32], align 4 call void asm sideeffect "; use $0", "v"([16 x i32]* %alloca) #0 @@ -156,7 +156,7 @@ define void @indirect_use_stack() #1 { ; GCN-LABEL: {{^}}indirect_2_level_use_stack: ; GCN: is_dynamic_callstack = 0 -; GCN: ScratchSize: 2120 +; GCN: ScratchSize: 2124 define amdgpu_kernel void @indirect_2_level_use_stack() #0 { call void @indirect_use_stack() ret void @@ -199,7 +199,7 @@ define amdgpu_kernel void @usage_external_recurse() #0 { } ; GCN-LABEL: {{^}}direct_recursion_use_stack: -; GCN: ScratchSize: 2052 +; GCN: ScratchSize: 2056 define void @direct_recursion_use_stack(i32 %val) #2 { %alloca = alloca [512 x i32], align 4 call void asm sideeffect "; use $0", "v"([512 x i32]* %alloca) #0 @@ -218,7 +218,7 @@ ret: ; GCN-LABEL: {{^}}usage_direct_recursion: ; GCN: is_ptr64 = 1 ; GCN: is_dynamic_callstack = 1 -; GCN: workitem_private_segment_byte_size = 2052 +; GCN: workitem_private_segment_byte_size = 2056 define amdgpu_kernel void @usage_direct_recursion(i32 %n) #0 { call void @direct_recursion_use_stack(i32 %n) ret void |