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