1 ; Test some floating point casting cases
2 ; RUN: llvm-upgrade %s -o - | llvm-as | opt -instcombine | llvm-dis | notcast
3 ; RUN: llvm-upgrade %s -o - | llvm-as | opt -instcombine | llvm-dis | \
4 ; RUN: egrep {ret i8 \(-1\)\|\(255\)}
7 %x = fptoui float 255.0 to sbyte
12 %x = fptosi float -1.0 to ubyte