summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/store-vector-ptrs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/R600/store-vector-ptrs.ll')
-rw-r--r--test/CodeGen/R600/store-vector-ptrs.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/R600/store-vector-ptrs.ll b/test/CodeGen/R600/store-vector-ptrs.ll
new file mode 100644
index 0000000000..01210ce1f9
--- /dev/null
+++ b/test/CodeGen/R600/store-vector-ptrs.ll
@@ -0,0 +1,8 @@
+; XFAIL: *
+; RUN: llc -march=r600 -mcpu=SI < %s
+
+define void @store_vector_ptrs(<4 x i32*>* %out, <4 x [1024 x i32]*> %array) nounwind {
+ %p = getelementptr <4 x [1024 x i32]*> %array, <4 x i16> zeroinitializer, <4 x i16> <i16 16, i16 16, i16 16, i16 16>
+ store <4 x i32*> %p, <4 x i32*>* %out
+ ret void
+} \ No newline at end of file