summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-20 18:12:38 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2016-10-20 18:12:38 +0000
commit08326b6256b9d98d317ba8fc86678f7703480a14 (patch)
treea76e4816be689fa81a2c050c3875438645022027 /llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
parente329a9fad62fe614496f7cccbd1e302299a41788 (diff)
downloadbcm5719-llvm-08326b6256b9d98d317ba8fc86678f7703480a14.tar.gz
bcm5719-llvm-08326b6256b9d98d317ba8fc86678f7703480a14.zip
[AMDGPU] Emit constant address space data in .rodata section and use relocations instead of fixups (amdhsa only)
Differential Revision: https://reviews.llvm.org/D25693 llvm-svn: 284759
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll b/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
index fdaca922c4f..ccb383e0d02 100644
--- a/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
+++ b/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll
@@ -333,13 +333,13 @@ define void @test_small_memcpy_i64_global_to_global_align16(i64 addrspace(1)* no
; FUNC-LABEL: {{^}}test_memcpy_const_string_align4:
; SI: s_getpc_b64
-; SI: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, hello.align4+4
+; SI: s_add_u32 s{{[0-9]+}}, s{{[0-9]+}}, hello.align4+20
; SI: s_addc_u32
-; SI: s_load_dwordx4
-; SI: s_load_dwordx4
-; SI: s_load_dwordx2
-; SI: buffer_store_dwordx4
-; SI: buffer_store_dwordx4
+; SI-DAG: s_load_dwordx4
+; SI-DAG: s_load_dwordx4
+; SI-DAG: s_load_dwordx2
+; SI-DAG: buffer_store_dwordx4
+; SI-DAG: buffer_store_dwordx4
define void @test_memcpy_const_string_align4(i8 addrspace(1)* noalias %out) nounwind {
%str = bitcast [16 x i8] addrspace(2)* @hello.align4 to i8 addrspace(2)*
call void @llvm.memcpy.p1i8.p2i8.i64(i8 addrspace(1)* %out, i8 addrspace(2)* %str, i64 32, i32 4, i1 false)
OpenPOWER on IntegriCloud