mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Since BB-vectorizer can produce vectors of for example 3 elements, this check is needed. Review: Ulrich Weigand git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297136 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
278 B
LLVM
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
|
|
}
|