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

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 18 23:48:00 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));
----------------
clingfei wrote:

Added, thanks! 

And I fixed another failure reported in the CI tests on Linux in the most recent commit. 

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


More information about the cfe-commits mailing list