Added the ability to xfail based on llvmgcc version
[llvm-complete.git] / test / Transforms / InstCombine / vec_narrow.ll
blobd5c7f854b8db879e7149ba8a5a62340006554421
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'add float'
3 %V = type <4 x float>
5 float %test(%V %A, %V %B, float %f) {
6         %C = insertelement %V %A, float %f, uint 0
7         %D = add %V %C, %B
8         %E = extractelement %V %D, uint 0
9         ret float %E