llvm-6502/test/CodeGen/Alpha/mul5.ll
2006-04-02 21:47:07 +00:00

17 lines
336 B
LLVM

; Make sure this testcase does not use mulq
; RUN: llvm-as < %s | llc -march=alpha | grep -i 'mul' |wc -l |grep 0
implementation ; Functions:
ulong %foo(ulong %x) {
entry:
%tmp.1 = mul ulong %x, 5 ; <ulong> [#uses=1]
ret ulong %tmp.1
}
long %bar(long %x) {
entry:
%tmp.1 = mul long %x, 5 ; <long> [#uses=1]
ret long %tmp.1
}