diff options
author | Reed <reedwm@google.com> | 2022-12-13 09:50:02 +0100 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-12-13 09:52:07 +0100 |
commit | 7476d59414d3f94b6e14e6917a6c1151135a28c1 (patch) | |
tree | cefee5e81c463a18194ae07aa8914db89a2d0bc0 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 492c471839a66e354ebe696bd3e15f7477c63613 (diff) | |
download | llvm-7476d59414d3f94b6e14e6917a6c1151135a28c1.zip llvm-7476d59414d3f94b6e14e6917a6c1151135a28c1.tar.gz llvm-7476d59414d3f94b6e14e6917a6c1151135a28c1.tar.bz2 |
Fix APFloat::toString on Float8E5M2 values.
Before, an APInt with value 10 was created, whose width was the significand width. But 10 cannot fit in Float8E5M2's significand.
Differential Revision: https://reviews.llvm.org/D138540
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions