summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/nested-calls.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/nested-calls.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/nested-calls.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/nested-calls.ll b/llvm/test/CodeGen/AMDGPU/nested-calls.ll
index 4cefa7e3e51..c1105347cd3 100644
--- a/llvm/test/CodeGen/AMDGPU/nested-calls.ll
+++ b/llvm/test/CodeGen/AMDGPU/nested-calls.ll
@@ -39,11 +39,11 @@ define void @test_func_call_external_void_func_i32_imm() #0 {
; GCN: s_sub_u32 s32, s32, 0x1200{{$}}
; GCN: s_setpc_b64
define void @test_func_call_external_void_func_i32_imm_stack_use() #0 {
- %alloca = alloca [16 x i32], align 4
- %gep0 = getelementptr inbounds [16 x i32], [16 x i32]* %alloca, i32 0, i32 0
- %gep15 = getelementptr inbounds [16 x i32], [16 x i32]* %alloca, i32 0, i32 16
- store volatile i32 0, i32* %gep0
- store volatile i32 0, i32* %gep15
+ %alloca = alloca [16 x i32], align 4, addrspace(5)
+ %gep0 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(5)* %alloca, i32 0, i32 0
+ %gep15 = getelementptr inbounds [16 x i32], [16 x i32] addrspace(5)* %alloca, i32 0, i32 16
+ store volatile i32 0, i32 addrspace(5)* %gep0
+ store volatile i32 0, i32 addrspace(5)* %gep15
call void @external_void_func_i32(i32 42)
ret void
}
OpenPOWER on IntegriCloud