summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-14 04:37:34 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-14 04:37:34 +0000
commitc96b5d7073217d378510379e1f1077fca62d2075 (patch)
treea6b684f8a45f4c423d33366f386e394ebf981e80 /llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
parent2a2ac37c2ce05fa56a4ee523a418cc58c5bdc0d3 (diff)
downloadbcm5719-llvm-c96b5d7073217d378510379e1f1077fca62d2075.tar.gz
bcm5719-llvm-c96b5d7073217d378510379e1f1077fca62d2075.zip
[AMDGPU] Emit 32-bit lo/hi got and pc relative variant kinds for external and global address space variables
Differential Revision: https://reviews.llvm.org/D25562 llvm-svn: 284196
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/captured-frame-index.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/captured-frame-index.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll b/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
index a752b6129fb..08cee3e60bb 100644
--- a/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
+++ b/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
@@ -182,7 +182,9 @@ define void @stored_fi_to_global_huge_frame_offset(i32* addrspace(1)* %ptr) #0 {
; on the leftover AssertZext's ValueType operand.
; GCN-LABEL: {{^}}cannot_select_assertzext_valuetype:
-; GCN: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, g1@GOTPCREL+4
+; GCN: s_getpc_b64 s{{\[}}[[PC_LO:[0-9]+]]:[[PC_HI:[0-9]+]]{{\]}}
+; GCN: s_add_u32 s{{[0-9]+}}, s[[PC_LO]], g1@gotpcrel32@lo+4
+; GCN: s_addc_u32 s{{[0-9]+}}, s[[PC_HI]], g1@gotpcrel32@hi+4
; GCN: v_mov_b32_e32 [[FI:v[0-9]+]], 0{{$}}
; GCN: buffer_store_dword [[FI]]
define void @cannot_select_assertzext_valuetype(i32 addrspace(1)* %out, i32 %idx) #0 {
OpenPOWER on IntegriCloud