This is an archive of the discontinued LLVM Phabricator instance.

[mlir][AsmPrinter] Fix edge case when printing floating point values.
ClosedPublic

Authored by rriddle on Feb 6 2020, 4:47 PM.

Details

Summary

In some edge cases the default APFloat printer will generate something that we can't parse back in. In these cases, fallback to using hex instead.

Diff Detail

Event Timeline

rriddle created this revision.Feb 6 2020, 4:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2020, 4:47 PM
lucyrfox accepted this revision.Feb 6 2020, 5:08 PM
This revision is now accepted and ready to land.Feb 6 2020, 5:08 PM
This revision was automatically updated to reflect the committed changes.