summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/soft-sitofp.ll
Commit message (Collapse)AuthorAgeFilesLines
* Do not try to use i8 and i16 versions of FP_TO_U/SINT soft float library callsMichael Kuperstein2015-12-151-0/+36
| | | | | | | | | | | It appears that neither compiler-rt nor the gnu soft-float libraries actually implement these conversions. Instead of emitting calls to library functions that don't exist, handle it similarly to the way we handle i8 -> float and i16 -> float conversions: call the i32 library function, and adjust the type. Differential Revision: http://reviews.llvm.org/D15151 llvm-svn: 255643
* [X86] Do not try to custom-lower sitofp/fptosi in soft-float modeMichael Kuperstein2015-11-101-7/+125
| | | | | | Differential Revision: http://reviews.llvm.org/D14495 llvm-svn: 252621
* [X86] DAGCombine should not introduce FILD in soft-float modeMichael Kuperstein2015-11-041-0/+15
The x86 "sitofp i64 to double" dag combine, in 32-bit mode, lowers sitofp directly to X86ISD::FILD (or FILD_FLAG). This should not be done in soft-float mode. llvm-svn: 252042
OpenPOWER on IntegriCloud