llvm-project
1597fad4 - [Clang] Rename elementwise builtins to `clzg` and `ctzg` (#157128)

Commit
85 days ago
[Clang] Rename elementwise builtins to `clzg` and `ctzg` (#157128) Summary: The added bit counting builtins for vectors used `cttz` and `ctlz`, which is consistent with the LLVM naming convention. However, these are clang builtins and implement exactly the `__builtin_ctzg` and `__builtin_clzg` behavior. It is confusing to people familiar with other other builtins that these are the only bit counting intrinsics named differently. This includes the additional operation for the undefined zero case, which was added as a `clzg` extension.
Author
Parents
Loading