summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/store.v4i32.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/R600/store.v4i32.ll')
-rw-r--r--test/CodeGen/R600/store.v4i32.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/R600/store.v4i32.ll b/test/CodeGen/R600/store.v4i32.ll
new file mode 100644
index 00000000000..a659815ddeb
--- /dev/null
+++ b/test/CodeGen/R600/store.v4i32.ll
@@ -0,0 +1,9 @@
+;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
+
+;CHECK: RAT_WRITE_CACHELESS_128 T{{[0-9]+\.XYZW, T[0-9]+\.X}}, 1
+
+define void @test(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) {
+ %1 = load <4 x i32> addrspace(1) * %in
+ store <4 x i32> %1, <4 x i32> addrspace(1)* %out
+ ret void
+}