[clang] [Clang] Add __builtin_bswapg (PR #162433)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 18 23:16:57 PDT 2025
================
@@ -130,7 +130,10 @@ int main(void) {
P(object_size, (s0, 3));
// Whatever
-
+ P(bswapg, ((char)N));
+ P(bswapg, ((short)N));
+ P(bswapg, ((int)N));
+ P(bswapg, ((unsigned long)N));
----------------
ojhunt wrote:
maybe add _BitInt checks to this set of tests as well?
https://github.com/llvm/llvm-project/pull/162433
More information about the cfe-commits
mailing list