mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
226 B
LLVM
12 lines
226 B
LLVM
; RUN: llc < %s -fast-isel -fast-isel-abort -march=x86
|
|
|
|
define i8 @t2(i8 %a, i8 %c) nounwind {
|
|
%tmp = shl i8 %a, %c
|
|
ret i8 %tmp
|
|
}
|
|
|
|
define i8 @t1(i8 %a) nounwind {
|
|
%tmp = mul i8 %a, 17
|
|
ret i8 %tmp
|
|
}
|