projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AMDGPU: Rework how private buffer passed for HSA
[oota-llvm.git]
/
test
/
CodeGen
/
AMDGPU
/
hsa.ll
diff --git
a/test/CodeGen/AMDGPU/hsa.ll
b/test/CodeGen/AMDGPU/hsa.ll
index ab87fdbc00da2d3dcfba6ac5ee8c1ef7e9cf4829..d9bb586163dccf8615c27be3793eaa54c798b19b 100644
(file)
--- a/
test/CodeGen/AMDGPU/hsa.ll
+++ b/
test/CodeGen/AMDGPU/hsa.ll
@@
-38,8
+38,10
@@
; HSA: .amdgpu_hsa_kernel simple
; HSA: {{^}}simple:
; HSA: .amd_kernel_code_t
; HSA: .amdgpu_hsa_kernel simple
; HSA: {{^}}simple:
; HSA: .amd_kernel_code_t
+; HSA: enable_sgpr_private_segment_buffer = 1
+; HSA: enable_sgpr_kernarg_segment_ptr = 1
; HSA: .end_amd_kernel_code_t
; HSA: .end_amd_kernel_code_t
-; HSA: s_load_dwordx2 s[{{[0-9]+:[0-9]+}}], s[
0:1
], 0x0
+; HSA: s_load_dwordx2 s[{{[0-9]+:[0-9]+}}], s[
4:5
], 0x0
; Make sure we are setting the ATC bit:
; HSA-CI: s_mov_b32 s[[HI:[0-9]]], 0x100f000
; Make sure we are setting the ATC bit:
; HSA-CI: s_mov_b32 s[[HI:[0-9]]], 0x100f000