Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / InstCombine / vec_narrow.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'add float'
2
3 %V = type <4 x float>
4
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
10 }
11