mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-03 01:18:47 +00:00
f8d8287454
llvm-svn: 55893
12 lines
219 B
LLVM
12 lines
219 B
LLVM
; RUN: llvm-as < %s | llc -fast-isel -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
|
|
}
|