1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00
llvm-mirror/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll
Jonas Paulsson 2490763fc1 [SystemZ] Add check VT.isSimple() in canTreateAsByteVector()
Since BB-vectorizer can produce vectors of for example 3 elements,
this check is needed.

Review: Ulrich Weigand
llvm-svn: 297136
2017-03-07 09:49:31 +00:00

11 lines
278 B
LLVM

; 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
}