summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/CodeGen/Generic/vector-constantexpr.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/vector-constantexpr.ll b/llvm/test/Regression/CodeGen/Generic/vector-constantexpr.ll
new file mode 100644
index 00000000000..eb49dbfbd73
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/Generic/vector-constantexpr.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc
+
+void ""(float* %inregs, float* %outregs) {
+ %a_addr.i = alloca <4 x float> ; <<4 x float>*> [#uses=1]
+ store <4 x float> < float extractelement (<4 x float> undef, uint 3), float extractelement (<4 x float> undef, uint 0), float extractelement (<4 x float> undef, uint 1), float extractelement (<4 x float> undef, uint 2) >, <4 x float>* %a_addr.i
+ ret void
+}
+
+
+
OpenPOWER on IntegriCloud