Sign in
swiftshader
/
SwiftShader
/
f63a3abbc4710f7de0f1a8fc803db84f55d53c24
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
InstCombine
/
vec_insertelt.ll
blob: 3b949209c4d7693b05a7d5b42f27617dbe9a148a [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | FileCheck %s
; CHECK: ret <4 x i32> %A
; PR1286
define
<
4
x
i32
>
@test1
(<
4
x
i32
>
%A
)
{
%B
=
insertelement
<
4
x
i32
>
%A
,
i32
undef
,
i32
1
ret
<
4
x
i32
>
%B
}