This is an archive of the discontinued LLVM Phabricator instance.

Teach the IRBuilder about constrained FPToSI and FPToUI
ClosedPublic

Authored by kpn on Sep 6 2019, 10:41 AM.

Details

Summary

The IRBuilder doesn't know that two floating point to integer instructions have constrained equivalents. This patch adds the support by building on the strict FP mode now present in the IRBuilder.

Diff Detail

Repository
rL LLVM

Event Timeline

kpn created this revision.Sep 6 2019, 10:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2019, 10:41 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 6 2019, 11:03 AM
This revision was automatically updated to reflect the committed changes.