diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-09-09 19:28:00 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-09-09 19:28:00 +0000 |
commit | b2869eb6e98cb6b1730bca86b48c007970c861d7 (patch) | |
tree | 08553438e6b1aee929867b64e3052814ed5a509a /llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll | |
parent | 88f6407542c55ae3723831baf6e549e045db8138 (diff) | |
download | bcm5719-llvm-b2869eb6e98cb6b1730bca86b48c007970c861d7.tar.gz bcm5719-llvm-b2869eb6e98cb6b1730bca86b48c007970c861d7.zip |
AMDGPU/SI: Make sure llvm.amdgcn.implicitarg.ptr() is 8-byte aligned for HSA
Reviewers: arsenm
Subscribers: arsenm, wdng, nhaehnle, llvm-commits
Differential Revision: https://reviews.llvm.org/D24405
llvm-svn: 281080
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll b/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll index 41977c286f3..c79cf8dffe0 100644 --- a/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll +++ b/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll @@ -29,7 +29,7 @@ define void @test_implicit(i32 addrspace(1)* %out) #1 { ; ALL-LABEL: {{^}}test_implicit_alignment ; MESA: s_load_dword [[VAL:s[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0xc -; HSA: s_load_dword [[VAL:s[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0x3 +; HSA: s_load_dword [[VAL:s[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0x4 ; ALL: v_mov_b32_e32 [[V_VAL:v[0-9]+]], [[VAL]] ; MESA: buffer_store_dword [[V_VAL]] ; HSA: flat_store_dword v[{{[0-9]+:[0-9]+}}], [[V_VAL]] |