R600/SI: Fix test checking wrong instruction operand.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 19 Mar 2014 22:19:45 +0000 (22:19 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 19 Mar 2014 22:19:45 +0000 (22:19 +0000)
The source and destination happen to be the same register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204271 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/R600/32-bit-local-address-space.ll

index 362cc825dff5d092e70e0a45307054689e705b09..8c31e01f5372a856868cd775fea22afe09574f30 100644 (file)
@@ -34,7 +34,7 @@ entry:
 ; CHECK-LABEL: @local_address_gep_const_offset
 ; CHECK: S_ADD_I32 [[SPTR:s[0-9]]]
 ; CHECK: V_MOV_B32_e32 [[VPTR:v[0-9]+]], [[SPTR]]
-; CHECK: DS_READ_B32 [[VPTR]]
+; CHECK: DS_READ_B32 v{{[0-9]+}}, [[VPTR]]
 define void @local_address_gep_const_offset(i32 addrspace(1)* %out, i32 addrspace(3)* %in) {
 entry:
   %0 = getelementptr i32 addrspace(3)* %in, i32 1