Add a priority queue class, which is a wrapper around std::priority_queue
[oota-llvm.git] / test / Transforms / InstCombine / vec_narrow.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
2 ; RUN:   grep {add float}
3
4         %V = type <4 x float>
5
6 define float @test(%V %A, %V %B, float %f) {
7         %C = insertelement %V %A, float %f, i32 0               ; <%V> [#uses=1]
8         %D = add %V %C, %B              ; <%V> [#uses=1]
9         %E = extractelement %V %D, i32 0                ; <float> [#uses=1]
10         ret float %E
11 }
12