Sign in
ara-mdk
/
platform
/
external
/
llvm
/
2d4629c5d7dcc6582fa7b85a517744f1a3654eba
/
.
/
test
/
Transforms
/
InstCombine
/
2006-03-30-ExtractElement.ll
blob: aa7d58786b4248c0082388f983e7c87db2795dce [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -disable-output
define
float
@test
(<
4
x
float
>
%V
)
{
%V2
=
insertelement
<
4
x
float
>
%V
,
float
1.000000
e
+
00
,
i32
3
; <<4 x float>> [#uses=1]
%R
=
extractelement
<
4
x
float
>
%V2
,
i32
2
; <float> [#uses=1]
ret
float
%R
}