mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
9 lines
297 B
LLVM
9 lines
297 B
LLVM
; RUN: opt < %s -instcombine -disable-output
|
|
|
|
define float @test(<4 x float> %V) {
|
|
%V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3 ; <<4 x float>> [#uses=1]
|
|
%R = extractelement <4 x float> %V2, i32 2 ; <float> [#uses=1]
|
|
ret float %R
|
|
}
|
|
|