[all-commits] [llvm/llvm-project] 1654b2: [ADT] Add support for more formats in APFixedPoint

Ralender via All-commits all-commits at lists.llvm.org
Thu Oct 6 08:56:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1654b22ac048010a6e045dbe69b530fe7cd54fcc
      https://github.com/llvm/llvm-project/commit/1654b22ac048010a6e045dbe69b530fe7cd54fcc
  Author: Tyker <tyker1 at outlook.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M llvm/include/llvm/ADT/APFixedPoint.h
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/ADT/APSInt.h
    M llvm/lib/Support/APFixedPoint.cpp
    M llvm/unittests/ADT/APFixedPointTest.cpp

  Log Message:
  -----------
  [ADT] Add support for more formats in APFixedPoint

Prior to this patch FixedPointSemantics and APFixedPoint only support semantics where
the Scale larger or equal to zero and the Width is larger or equal to the Scale.
This patch removes both those requirements while staying API compatible.




More information about the All-commits mailing list