Remove llvm-upgrade and update tests.
[oota-llvm.git] / test / CodeGen / Alpha / mul5.ll
1 ; Make sure this testcase does not use mulq
2 ; RUN: llvm-as < %s | llvm-as | llc -march=alpha | \
3 ; RUN:   not grep -i mul
4 ; XFAIL: *
5
6 define i64 @foo1(i64 %x) {
7 entry:
8         %tmp.1 = mul i64 %x, 9          ; <i64> [#uses=1]
9         ret i64 %tmp.1
10 }
11
12 define i64 @foo3(i64 %x) {
13 entry:
14         %tmp.1 = mul i64 %x, 259                ; <i64> [#uses=1]
15         ret i64 %tmp.1
16 }
17
18 define i64 @foo4l(i64 %x) {
19 entry:
20         %tmp.1 = mul i64 %x, 260                ; <i64> [#uses=1]
21         ret i64 %tmp.1
22 }
23
24 define i64 @foo4ln(i64 %x) {
25 entry:
26         %tmp.1 = mul i64 %x, 508                ; <i64> [#uses=1]
27         ret i64 %tmp.1
28 }
29
30 define i64 @foo4ln_more(i64 %x) {
31 entry:
32         %tmp.1 = mul i64 %x, 252                ; <i64> [#uses=1]
33         ret i64 %tmp.1
34 }
35
36 define i64 @foo1n(i64 %x) {
37 entry:
38         %tmp.1 = mul i64 %x, 511                ; <i64> [#uses=1]
39         ret i64 %tmp.1
40 }
41
42 define i64 @foo8l(i64 %x) {
43 entry:
44         %tmp.1 = mul i64 %x, 768                ; <i64> [#uses=1]
45         ret i64 %tmp.1
46 }
47
48 define i64 @bar(i64 %x) {
49 entry:
50         %tmp.1 = mul i64 %x, 5          ; <i64> [#uses=1]
51         ret i64 %tmp.1
52 }
53