[all-commits] [llvm/llvm-project] ecef6b: [libc++] Remove duplication in math_h.pass.cpp and...

philnik777 via All-commits all-commits at lists.llvm.org
Tue Nov 22 11:36:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecef6b1cb143c5372d29121aa5932505d5140f6f
      https://github.com/llvm/llvm-project/commit/ecef6b1cb143c5372d29121aa5932505d5140f6f
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M libcxx/include/__type_traits/promote.h
    M libcxx/test/std/depr/depr.c.headers/math_h.pass.cpp

  Log Message:
  -----------
  [libc++] Remove duplication in math_h.pass.cpp and improve coverage

Reviewed By: ldionne, huixie90, #libc

Spies: mstorsjo, EricWF, libcxx-commits

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


  Commit: 40d8f87809dcb7d8dca089eaa3f7a0da95559817
      https://github.com/llvm/llvm-project/commit/40d8f87809dcb7d8dca089eaa3f7a0da95559817
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++] Assume that builtins for math.h functions are available

All supported compilers support the builtins, so this removes dead code and simplifies a lot of the functions through that.

Reviewed By: ldionne, #libc, EricWF

Spies: EricWF, michaelplatings, libcxx-commits

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


  Commit: b0a29f69115414284c344dc01caeb8d9841d3346
      https://github.com/llvm/llvm-project/commit/b0a29f69115414284c344dc01caeb8d9841d3346
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++][math.h] Remove __libcpp_<func> functions and instead call builtins directly

Reviewed By: ldionne, Mordante, #libc

Spies: libcxx-commits

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


  Commit: c702264762e2d349209a2e474e2992bd090ab1a9
      https://github.com/llvm/llvm-project/commit/c702264762e2d349209a2e474e2992bd090ab1a9
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++][math.h] Remove some code duplication

Reviewed By: ldionne, #libc

Spies: libcxx-commits

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


  Commit: b816b526741c409e9f5de74508bf134589ded638
      https://github.com/llvm/llvm-project/commit/b816b526741c409e9f5de74508bf134589ded638
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++][math.h][NFC] Refactor enable_ifs

Reviewed By: ldionne, Mordante, #libc

Spies: EricWF, libcxx-commits

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


Compare: https://github.com/llvm/llvm-project/compare/e27e8e054132...b816b526741c


More information about the All-commits mailing list