Optimized FCMP_OEQ and FCMP_UNE for x86.
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-trunc.ll
1 ; RUN: llvm-as < %s | llc -march=x86 -fast-isel
2 ; RUN: llvm-as < %s | llc -march=x86-64 -fast-isel
3
4 define i8 @t1(i32 %x) signext nounwind  {
5         %tmp1 = trunc i32 %x to i8
6         ret i8 %tmp1
7 }
8
9 define i8 @t2(i16 signext %x) signext nounwind  {
10         %tmp1 = trunc i16 %x to i8
11         ret i8 %tmp1
12 }