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