[llvm] r204271 - R600/SI: Fix test checking wrong instruction operand.

Matt Arsenault Matthew.Arsenault at amd.com
Wed Mar 19 15:19:45 PDT 2014


Author: arsenm
Date: Wed Mar 19 17:19:45 2014
New Revision: 204271

URL: http://llvm.org/viewvc/llvm-project?rev=204271&view=rev
Log:
R600/SI: Fix test checking wrong instruction operand.

The source and destination happen to be the same register.

Modified:
    llvm/trunk/test/CodeGen/R600/32-bit-local-address-space.ll

Modified: llvm/trunk/test/CodeGen/R600/32-bit-local-address-space.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/32-bit-local-address-space.ll?rev=204271&r1=204270&r2=204271&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/32-bit-local-address-space.ll (original)
+++ llvm/trunk/test/CodeGen/R600/32-bit-local-address-space.ll Wed Mar 19 17:19:45 2014
@@ -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





More information about the llvm-commits mailing list