summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/local-memory-two-objects.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-03-19 22:19:49 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-03-19 22:19:49 +0000
commit99ed78926be988798ac0973a0e15f8fa38bbcfdf (patch)
treee2fb7936d2633ba403cdad9ec222f2c89c9e5386 /llvm/test/CodeGen/R600/local-memory-two-objects.ll
parent43eeee182a81bdcf3ea3fb8db8a3ad4e5edfaf2b (diff)
downloadbcm5719-llvm-99ed78926be988798ac0973a0e15f8fa38bbcfdf.tar.gz
bcm5719-llvm-99ed78926be988798ac0973a0e15f8fa38bbcfdf.zip
R600/SI: Match i16 immediate offset of LDS instructions.
llvm-svn: 204272
Diffstat (limited to 'llvm/test/CodeGen/R600/local-memory-two-objects.ll')
-rw-r--r--llvm/test/CodeGen/R600/local-memory-two-objects.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/R600/local-memory-two-objects.ll b/llvm/test/CodeGen/R600/local-memory-two-objects.ll
index fdb2a5d292d..616000d45da 100644
--- a/llvm/test/CodeGen/R600/local-memory-two-objects.ll
+++ b/llvm/test/CodeGen/R600/local-memory-two-objects.ll
@@ -24,11 +24,12 @@
; EG-CHECK: GROUP_BARRIER
; EG-CHECK-NEXT: ALU clause
-; Make sure the lds reads are using different addresses.
+; Make sure the lds reads are using different addresses, at different
+; constant offsets.
; EG-CHECK: LDS_READ_RET {{[*]*}} OQAP, {{PV|T}}[[ADDRR:[0-9]*\.[XYZW]]]
; EG-CHECK-NOT: LDS_READ_RET {{[*]*}} OQAP, T[[ADDRR]]
-; SI-CHECK: DS_READ_B32 {{v[0-9]+}}, [[ADDRR:v[0-9]+]]
-; SI-CHECK-NOT: DS_READ_B32 {{v[0-9]+}}, [[ADDRR]]
+; SI-CHECK: DS_READ_B32 {{v[0-9]+}}, [[ADDRR:v[0-9]+]], 16
+; SI-CHECK: DS_READ_B32 {{v[0-9]+}}, [[ADDRR]], 0,
define void @local_memory_two_objects(i32 addrspace(1)* %out) {
entry:
OpenPOWER on IntegriCloud