[all-commits] [llvm/llvm-project] 8606d0: [APFloat] Enlarge ExponentType to 32bit integer

Ehud Katz via All-commits all-commits at lists.llvm.org
Fri Nov 22 11:26:50 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8606d013983d2098ba0d9ea9c2129a0b32a93e33
      https://github.com/llvm/llvm-project/commit/8606d013983d2098ba0d9ea9c2129a0b32a93e33
  Author: Ehud Katz <ehudkatz at gmail.com>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  [APFloat] Enlarge ExponentType to 32bit integer

Enlarge the size of ExponentType from 16bit integer to 32bit. This is
required to prevent exponent overflow/underflow.

Note that IEEEFloat size and alignment don't change in 64bit or 32bit
compilation targets (and in turn, neither does APFloat).

Fixes PR34851.

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




More information about the All-commits mailing list