diff options
author | Diego Caballero <diego.caballero@intel.com> | 2020-06-05 17:06:42 -0700 |
---|---|---|
committer | Diego Caballero <diego.caballero@intel.com> | 2020-06-05 17:22:43 -0700 |
commit | a2588948febccfed5ba074fc32dcb093484fa5c8 (patch) | |
tree | 2d89f03f46953a9bc7e3ef464d8e45da29c27a84 /llvm/tools/llvm-objdump | |
parent | f39e12a06b6018db195848ca1f7bd01bf0240fac (diff) | |
download | llvm-a2588948febccfed5ba074fc32dcb093484fa5c8.zip llvm-a2588948febccfed5ba074fc32dcb093484fa5c8.tar.gz llvm-a2588948febccfed5ba074fc32dcb093484fa5c8.tar.bz2 |
Fix convertBFloatAPFloatToAPInt for NaN/Inf values
Bfloat type has an 8-bit exponent so the exponent of NaN/Inf numbers
must be 0xff instead of 0x1f. This is probably a copy-paste mistake
from the half float type.
Reviewed By: lattner
Differential Revision: https://reviews.llvm.org/D81302
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions