Andrew Lenharth | f80d2f6 | 2006-04-02 21:47:07 +0000 | [diff] [blame^] | 1 | ; Make sure this testcase does not use mulq |
2 | ; RUN: llvm-as < %s | llc -march=alpha | grep -i 'mul' |wc -l |grep 0 | ||||
3 | |||||
4 | implementation ; Functions: | ||||
5 | |||||
6 | ulong %foo(ulong %x) { | ||||
7 | entry: | ||||
8 | %tmp.1 = mul ulong %x, 5 ; <ulong> [#uses=1] | ||||
9 | ret ulong %tmp.1 | ||||
10 | } | ||||
11 | |||||
12 | long %bar(long %x) { | ||||
13 | entry: | ||||
14 | %tmp.1 = mul long %x, 5 ; <long> [#uses=1] | ||||
15 | ret long %tmp.1 | ||||
16 | } |