[all-commits] [llvm/llvm-project] 62ac4e: [Clang] Support generic bit counting builtins on f...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Aug 26 06:35:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 62ac4e30145a04295c0f8f36c17dc9abb7906364
https://github.com/llvm/llvm-project/commit/62ac4e30145a04295c0f8f36c17dc9abb7906364
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/AST/ByteCode/builtin-functions.cpp
M clang/test/CodeGen/builtins.c
Log Message:
-----------
[Clang] Support generic bit counting builtins on fixed boolean vectors (#154203)
Summary:
Boolean vectors as implemented in clang can be bit-casted to an integer
that is rounded up to the next primitive sized integer. Users can do
this themselves, but since the counting bits are very likely to be used
with bitmasks like this and the generic forms are expected to be
generic it seems reasonable that we handle this case directly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list