source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AMDGPU/store.r600.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 769 bytes
Line 
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
9define 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
18define 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}
Note: See TracBrowser for help on using the repository browser.