[clang] [Clang] Add __builtin_bswapg (PR #162433)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 10:44:41 PST 2025


================
@@ -281,6 +281,10 @@ Non-comprehensive list of changes in this release
   allocator-level heap organization strategies. A feature to instrument all
   allocation functions with a token ID can be enabled via the
   ``-fsanitize=alloc-token`` flag.
+ 
+- A new generic byte swap builtin function ``__builtin_bswapg`` that extends the existing 
----------------
philnik777 wrote:

That's just following the precedent of `__builtin_popcountg`, `__builtin_clzg` and `__builtin_ctzg`.

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


More information about the cfe-commits mailing list