mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
f80d2f61af
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27365 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
336 B
LLVM
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
|
|
}
|