Issue |
122819
|
Summary |
[Clang] Consider adding `__builtin_rotate{left,right}g`
|
Labels |
enhancement,
clang
|
Assignees |
|
Reporter |
philnik777
|
I don't think there is much of a reason not to add them and would avoid a long list of `if constexpr` just for clang to go through the same code gen path in the end. A generic version would also add support for other integral types like `_BitInt` and `__int128`.
P.S. I don't really understand why this hasn't been done in the first place. Now we just have a bunch of `g` version for all the builtins as well as numbered ones without any benefit I can see.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs