2009-03-14 00:53:06 +01:00
|
|
|
; RUN: llvm-as < %s | llc -fast-isel -fast-isel-abort -march=x86
|
2008-09-08 10:39:33 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|