mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
fa0a3504ba
ptrtoint and inttoptr in X86FastISel. These casts aren't always handled in the generic FastISel code because X86 sometimes needs custom code to do truncation and zero-extension. llvm-svn: 66988
12 lines
236 B
LLVM
12 lines
236 B
LLVM
; RUN: llvm-as < %s | llc -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
|
|
}
|