[PATCH] D15151: Do not try to use i8 and i16 versions of FP_TO_INT soft float library calls
Michael Kuperstein via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 07:21:20 PST 2015
mkuper created this revision.
mkuper added reviewers: asl, t.p.northover, nadav, DavidKreitzer.
mkuper added a subscriber: llvm-commits.
It appears that neither compiler-rt nor the gnu soft-float libraries actually implement these conversions.
Instead of producing 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.
http://reviews.llvm.org/D15151
Files:
include/llvm/CodeGen/RuntimeLibcalls.h
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/TargetLoweringBase.cpp
test/CodeGen/X86/soft-sitofp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15151.41621.patch
Type: text/x-patch
Size: 8535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151202/f4a67531/attachment.bin>
More information about the llvm-commits
mailing list