summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2019-06-16 17:32:01 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2019-06-16 17:32:01 +0000
commit6d71be4e67e121bae712b6f4e4b62849bb17f963 (patch)
treef3f8c75a32887e2ac951feb0024cb5bfde13d60c /llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
parent4d4ef2a1671f11e0dfd6bd42fc8e4bcbe4ac2328 (diff)
downloadbcm5719-llvm-6d71be4e67e121bae712b6f4e4b62849bb17f963.tar.gz
bcm5719-llvm-6d71be4e67e121bae712b6f4e4b62849bb17f963.zip
AMDGPU: Be explicit about whether the high-word in SI_PC_ADD_REL_OFFSET is 0
Summary: Instead of encoding a high-word of 0 using a fake TargetGlobalAddress, just use a literal target constant. This simplifies some subsequent changes. The generated assembly is now more explicit about the kind of relocation that is to be used. Change-Id: I066835202d23b5941fa7a358eb4b89e9b71ab6f8 Reviewers: arsenm, rampitec Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61491 llvm-svn: 363516
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll b/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
index cb3f8c5d17b..85e40e26b29 100644
--- a/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
+++ b/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
@@ -333,7 +333,7 @@ define amdgpu_kernel void @test_small_memcpy_i64_global_to_global_align16(i64 ad
; FUNC-LABEL: {{^}}test_memcpy_const_string_align4:
; SI: s_getpc_b64
-; SI: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, hello.align4+20
+; SI: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, hello.align4@rel32@lo+20
; SI: s_addc_u32
; SI-DAG: s_load_dwordx4
; SI-DAG: s_load_dwordx4
OpenPOWER on IntegriCloud