1 ; RUN: llvm-as < %s | llc -march=arm -asm-verbose | \
2 ; RUN: grep -- {-2147483648} | count 3
3 ; RUN: llvm-as < %s | llc -march=arm | grep mvn | count 3
4 ; RUN: llvm-as < %s | llc -march=arm | grep adds | count 1
5 ; RUN: llvm-as < %s | llc -march=arm | grep adc | count 1
6 ; RUN: llvm-as < %s | llc -march=arm | grep {subs } | count 1
7 ; RUN: llvm-as < %s | llc -march=arm | grep sbc | count 1
8 ; RUN: llvm-as < %s | llc -march=arm | \
9 ; RUN: grep smull | count 1
10 ; RUN: llvm-as < %s | llc -march=arm | \
11 ; RUN: grep umull | count 1
12 ; RUN: llvm-as < %s | llc -march=thumb | \
13 ; RUN: grep mvn | count 1
14 ; RUN: llvm-as < %s | llc -march=thumb | \
15 ; RUN: grep adc | count 1
16 ; RUN: llvm-as < %s | llc -march=thumb | \
17 ; RUN: grep sbc | count 1
18 ; RUN: llvm-as < %s | llc -march=thumb | grep __muldi3
42 ret i64 9223372036854775807
45 define i64 @f6(i64 %x, i64 %y) {
47 %tmp1 = add i64 %y, 1 ; <i64> [#uses=1]
53 %tmp = call i64 @f8( ) ; <i64> [#uses=0]
59 define i64 @f9(i64 %a, i64 %b) {
61 %tmp = sub i64 %a, %b ; <i64> [#uses=1]
65 define i64 @f(i32 %a, i32 %b) {
67 %tmp = sext i32 %a to i64 ; <i64> [#uses=1]
68 %tmp1 = sext i32 %b to i64 ; <i64> [#uses=1]
69 %tmp2 = mul i64 %tmp1, %tmp ; <i64> [#uses=1]
73 define i64 @g(i32 %a, i32 %b) {
75 %tmp = zext i32 %a to i64 ; <i64> [#uses=1]
76 %tmp1 = zext i32 %b to i64 ; <i64> [#uses=1]
77 %tmp2 = mul i64 %tmp1, %tmp ; <i64> [#uses=1]
83 %a = alloca i64, align 8 ; <i64*> [#uses=1]
84 %retval = load i64* %a ; <i64> [#uses=1]