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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D74181
[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 TimelineThis revision is now accepted and ready to land.Feb 6 2020, 5:08 PM Closed by commit rG58c18ca1354c: [mlir][AsmPrinter] Fix edge case when printing floating point values. (authored by rriddle). · Explain WhyFeb 6 2020, 6:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 243052 mlir/lib/IR/AsmPrinter.cpp
mlir/test/IR/parser.mlir
|