[libcxx-commits] [PATCH] D135781: [libc++] Assume that builtins for math.h functions are available

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 30 11:54:08 PDT 2022


philnik marked 2 inline comments as done.
philnik added a comment.

In D135781#3895015 <https://reviews.llvm.org/D135781#3895015>, @EricWF wrote:

> ~~~What about `-Xclang -fno-math-builtins`? Clang provides an option to turn the builtins off, and libc++ currently works when it's specified. We should state why we don't care about supporting this option.~~~

AFAICT this is still supported. Clang just doesn't add any attributes to the math functions anymore: https://godbolt.org/z/EfKhx896Y


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135781/new/

https://reviews.llvm.org/D135781



More information about the libcxx-commits mailing list