Eliminate more uses of llvm-as and llvm-dis.
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-smla.ll
1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | \
2 ; RUN:   grep smlabt | count 1
3
4 define i32 @f3(i32 %a, i16 %x, i32 %y) {
5         %tmp = sext i16 %x to i32               ; <i32> [#uses=1]
6         %tmp2 = ashr i32 %y, 16         ; <i32> [#uses=1]
7         %tmp3 = mul i32 %tmp2, %tmp             ; <i32> [#uses=1]
8         %tmp5 = add i32 %tmp3, %a               ; <i32> [#uses=1]
9         ret i32 %tmp5
10 }