[all-commits] [llvm/llvm-project] ed6c30: [APFloat] Fix truncation of certain subnormal numbers

Danila Malyutin via All-commits all-commits at lists.llvm.org
Wed Jun 8 11:55:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed6c309d4bf60b8a6abcf37a4e9d5b4bef96191b
      https://github.com/llvm/llvm-project/commit/ed6c309d4bf60b8a6abcf37a4e9d5b4bef96191b
  Author: Danila Malyutin <dmalyutin at azul.com>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M llvm/lib/Support/APFloat.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/cast.ll
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Fix truncation of certain subnormal numbers

Certain subnormals would be incorrectly rounded away from zero.

Fixes #55838

Differential Revision: https://reviews.llvm.org/D127140




More information about the All-commits mailing list