[all-commits] [llvm/llvm-project] b23916: Patch IEEEFloat::isSignificandAllZeros and IEEEFlo...

topperc via All-commits all-commits at lists.llvm.org
Wed Sep 30 16:07:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b23916504a1a9f29c7519ed83813774eecce1789
      https://github.com/llvm/llvm-project/commit/b23916504a1a9f29c7519ed83813774eecce1789
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/Support/APFloat.cpp
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  Patch IEEEFloat::isSignificandAllZeros and IEEEFloat::isSignificandAllOnes (bug 34579)

Patch IEEEFloat::isSignificandAllZeros and IEEEFloat::isSignificandAllOnes to behave correctly in the case that the size of the significand is a multiple of the width of the integerParts making up the significand.

The patch to IEEEFloat::isSignificandAllOnes fixes bug 34579, and the patch to IEEE:Float:isSignificandAllZeros fixes the unit test "APFloatTest.x87Next" I added here. I have included both in this diff since the changes are very similar.

Patch by Andrew Briand




More information about the All-commits mailing list