diff options
author | peter klausler <pklausler@nvidia.com> | 2020-05-04 11:41:39 -0700 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2020-05-04 12:04:08 -0700 |
commit | 6fec2c4402ce34edc5c27202422007b12bb25797 (patch) | |
tree | 88705c0e74ac7534c2c3573c75febdb36f36ee80 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | ac9e8b3a7e295afdebcd9fff69e720f04e026bff (diff) | |
download | llvm-6fec2c4402ce34edc5c27202422007b12bb25797.zip llvm-6fec2c4402ce34edc5c27202422007b12bb25797.tar.gz llvm-6fec2c4402ce34edc5c27202422007b12bb25797.tar.bz2 |
[flang] Fix x87 binary->decimal
Summary:
Fix decimal formatting of 80-bit x87 values; the calculation ofnearest neighbor values failed to account for the explicitmost significant bit in that format.
Replace MultiplyByRounded with MultiplyBy in binary->decimal conversions,
since rounding won't happen and the name was misleading; then remove
dead code, and migrate LoseLeastSignificantDigit() from one source file
to another where it's still needed.
Reviewers: tskeith, sscalpone, jdoerfert, DavidTruby
Reviewed By: tskeith
Subscribers: llvm-commits, flang-commits
Tags: #flang, #llvm
Differential Revision: https://reviews.llvm.org/D79345
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions