summaryrefslogtreecommitdiff
path: root/test/CodeGen/CellSPU/stores.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CellSPU/stores.ll')
-rw-r--r--test/CodeGen/CellSPU/stores.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/stores.ll b/test/CodeGen/CellSPU/stores.ll
index 7e0bf06b4e45..6ca5b0892304 100644
--- a/test/CodeGen/CellSPU/stores.ll
+++ b/test/CodeGen/CellSPU/stores.ll
@@ -171,3 +171,11 @@ define void @store_v8( <8 x float> %val, <8 x float>* %ptr )
store <8 x float> %val, <8 x float>* %ptr
ret void
}
+
+define void @store_null_vec( <4 x i32> %val ) {
+; FIXME - this is for some reason compiled into a il+stqd, not a sta.
+;CHECK: stqd
+;CHECK: bi $lr
+ store <4 x i32> %val, <4 x i32>* null
+ ret void
+}