[libcxx-commits] [libcxx] [libc++] Use builtin for `std::is_sufficiently_aligned` (PR #173582)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 3 07:49:09 PST 2026


philnik777 wrote:

> > Why?
> 
> Isn't using compiler builtins the preferred way of implementing the functionality?

Again, why? The only thing we're doing here is adding code. How is this an improvement compared to doing nothing? What is the benefit of using the builtin compared to the branch we need anyways for GCC?

https://github.com/llvm/llvm-project/pull/173582


More information about the libcxx-commits mailing list