1 ; RUN: llvm-as < %s | llc -march=thumb | \
2 ; RUN: grep mvn | count 1
3 ; RUN: llvm-as < %s | llc -march=thumb | \
4 ; RUN: grep adc | count 1
5 ; RUN: llvm-as < %s | llc -march=thumb | \
6 ; RUN: grep sbc | count 1
7 ; RUN: llvm-as < %s | llc -march=thumb | grep __muldi3
31 ret i64 9223372036854775807
34 define i64 @f6(i64 %x, i64 %y) {
36 %tmp1 = add i64 %y, 1 ; <i64> [#uses=1]
42 %tmp = call i64 @f8( ) ; <i64> [#uses=0]
48 define i64 @f9(i64 %a, i64 %b) {
50 %tmp = sub i64 %a, %b ; <i64> [#uses=1]
54 define i64 @f(i32 %a, i32 %b) {
56 %tmp = sext i32 %a to i64 ; <i64> [#uses=1]
57 %tmp1 = sext i32 %b to i64 ; <i64> [#uses=1]
58 %tmp2 = mul i64 %tmp1, %tmp ; <i64> [#uses=1]
62 define i64 @g(i32 %a, i32 %b) {
64 %tmp = zext i32 %a to i64 ; <i64> [#uses=1]
65 %tmp1 = zext i32 %b to i64 ; <i64> [#uses=1]
66 %tmp2 = mul i64 %tmp1, %tmp ; <i64> [#uses=1]
72 %a = alloca i64, align 8 ; <i64*> [#uses=1]
73 %retval = load i64* %a ; <i64> [#uses=1]