1; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG-CHECK %s 2 3; XXX: Merge this test into store.ll once it is supported on SI 4 5; v4i32 store 6; EG-CHECK: @store_v4i32 7; EG-CHECK: RAT_WRITE_CACHELESS_128 T{{[0-9]+\.XYZW, T[0-9]+\.X}}, 1 8 9define void @store_v4i32(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) { 10 %1 = load <4 x i32> addrspace(1) * %in 11 store <4 x i32> %1, <4 x i32> addrspace(1)* %out 12 ret void 13} 14 15; v4f32 store 16; EG-CHECK: @store_v4f32 17; EG-CHECK: RAT_WRITE_CACHELESS_128 T{{[0-9]+\.XYZW, T[0-9]+\.X}}, 1 18define void @store_v4f32(<4 x float> addrspace(1)* %out, <4 x float> addrspace(1)* %in) { 19 %1 = load <4 x float> addrspace(1) * %in 20 store <4 x float> %1, <4 x float> addrspace(1)* %out 21 ret void 22} 23