[all-commits] [llvm/llvm-project] 650da4: [libc++][math.h] Use builtins for all the functions

philnik777 via All-commits all-commits at lists.llvm.org
Tue Nov 29 15:50:25 PST 2022


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

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++][math.h] Use builtins for all the functions

This allows compiling libc++, even when the C library doesn't support floating point math.

Reviewed By: ldionne, #libc

Spies: daltenty, xingxue, libcxx-commits, michaelplatings

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


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

  Changed paths:
    M libcxx/include/math.h

  Log Message:
  -----------
  [libc++][math.h] move #undefs to the top and guard explicitly against MSVCRT instead

Reviewed By: ldionne, #libc

Spies: #libc_vendors, EricWF, libcxx-commits

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


Compare: https://github.com/llvm/llvm-project/compare/f48f9614536c...ba1e13d52459


More information about the All-commits mailing list