aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fast-isel-phys.ll
blob: 26011468f78dd47aa31ebb454dc05d717cad88f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}