Use BranchProbability instead of floating points in IfConverter.
[llvm/stm8.git] / test / Transforms / InstCombine / vec_narrow.ll
blob2be4359923ce6cf0c41582769563b7aacf167fb8
1 ; RUN: opt < %s -instcombine -S | grep {fadd float}
4 define float @test(<4 x float> %A, <4 x float> %B, float %f) {
5         %C = insertelement <4 x float> %A, float %f, i32 0               ; <%V> [#uses=1]
6         %D = fadd <4 x float> %C, %B              ; <%V> [#uses=1]
7         %E = extractelement <4 x float> %D, i32 0                ; <float> [#uses=1]
8         ret float %E