Sign in
swiftshader
/
SwiftShader
/
4c1b8c87c9aa532b5eaa5e5793f398619544c8b4
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstCombine
/
2006-03-30-ExtractElement.ll
blob: 5decc21f3bce9e8bbedf935a168b81997a9ffcd4 [
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
}