summaryrefslogtreecommitdiff
path: root/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/vectorizer-output-3xi32.ll')
-rw-r--r--test/CodeGen/SystemZ/vectorizer-output-3xi32.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll b/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll
new file mode 100644
index 000000000000..3e7ba6095926
--- /dev/null
+++ b/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z13
+;
+; This tescase origininates from the BB-vectorizer output.
+
+define void @fun() {
+ %1 = zext <3 x i1> zeroinitializer to <3 x i32>
+ %2 = extractelement <3 x i32> %1, i32 2
+ store i32 %2, i32* undef, align 8
+ unreachable
+}