[libcxx-commits] [libcxx] [libc++] std::byteswap support for _BitInt(N) (PR #196512)

Xavier Roche via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 10 02:56:47 PDT 2026


xroche wrote:

> Can't we just defer to `__builtin_bswapg`?

Done! However, I kept the original implementation as a fallback as the minimum compiler version for libc++ is Clang 21 - should we bump it along the PR or wait to remove the conditionals later ?

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


More information about the libcxx-commits mailing list