summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CellSPU/stores.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/CellSPU/stores.ll')
-rw-r--r--llvm/test/CodeGen/CellSPU/stores.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CellSPU/stores.ll b/llvm/test/CodeGen/CellSPU/stores.ll
index 7e0bf06b4e4..6ca5b089230 100644
--- a/llvm/test/CodeGen/CellSPU/stores.ll
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud