This is an archive of the discontinued LLVM Phabricator instance.

[LegalizeDAG][X86] Enable STRICT_FP_TO_SINT/UINT to be promoted
ClosedPublic

Authored by craig.topper on Nov 13 2019, 10:21 PM.

Details

Summary

Add support for promoting these operations and use that on X86

Diff Detail

Event Timeline

craig.topper created this revision.Nov 13 2019, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 13 2019, 10:21 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
craig.topper added a reviewer: uweigand.

Rebase

FWIW I agree it makes sense to use this for now, even though we have the out-of-range problem. (But we already have that problem anyway in the LegalizeIntegerTypes implementation of that promotion ...)

Remove bad comments from test

This revision is now accepted and ready to land.Nov 19 2019, 3:55 PM
This revision was automatically updated to reflect the committed changes.