This is an archive of the discontinued LLVM Phabricator instance.

[LegalizeTypes] Add SoftenFloatResult support for STRICT_SINT_TO_FP/STRICT_UINT_TO_FP
ClosedPublic

Authored by wwei on Jan 6 2020, 8:26 AM.

Details

Summary

Some target like arm/riscv with soft-float will have compiling crash when using -fno-unsafe-math-optimization option.
This patch will add the missing strict FP support to SoftenFloatRes_XINT_TO_FP.

Diff Detail

Event Timeline

wwei created this revision.Jan 6 2020, 8:26 AM
This revision is now accepted and ready to land.Jan 6 2020, 11:03 AM
This revision was automatically updated to reflect the committed changes.