Evan Cheng | 990405b | 2008-09-08 08:39:33 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -fast-isel -march=x86 |
2 | |||||
3 | define i8 @t2(i8 %a, i8 %c) nounwind { | ||||
4 | %tmp = shl i8 %a, %c | ||||
5 | ret i8 %tmp | ||||
6 | } | ||||
7 | |||||
8 | define i8 @t1(i8 %a) nounwind { | ||||
9 | %tmp = mul i8 %a, 17 | ||||
10 | ret i8 %tmp | ||||
11 | } |