[clang] [clang] Implement __builtin_rotate{left,right}g (PR #160259)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 23 02:34:45 PDT 2025
================
@@ -767,12 +767,24 @@ def RotateLeft : BitInt8_16_32_64BuiltinsTemplate, Builtin {
let Prototype = "T(T, T)";
}
+def RotateLeftg : Builtin {
+ let Spellings = ["__builtin_rotateleftg"];
----------------
philnik777 wrote:
These should probably be named `__builtin_stdc_rotate_{left,right}`, since GCC already named them that way.
https://github.com/llvm/llvm-project/pull/160259
More information about the cfe-commits
mailing list