[clang] [Clang] Add fixes to padding clearing logic to the release notes (PR #225340)

Victor Campos via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 02:26:36 PDT 2026


https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/225340

None

>From 31efbdc9ef067549c2aed38b5a2fc5e3e1ef7ec1 Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Tue, 22 Sep 2026 10:05:03 +0100
Subject: [PATCH] [Clang] Add fixes to padding clearing logic to the release
 notes

---
 clang/docs/ReleaseNotes.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/clang/docs/ReleaseNotes.md b/clang/docs/ReleaseNotes.md
index 303f972fcaae1..b83e5e0c5c09f 100644
--- a/clang/docs/ReleaseNotes.md
+++ b/clang/docs/ReleaseNotes.md
@@ -556,8 +556,9 @@ features cannot lower the translation-unit ABI level;
   inside a member function call synthesized by ``__builtin_invoke``. (#GH185241)
 - Fixed a crash in ``__builtin_dump_struct`` when ``-Werror`` promotes
   format warnings to errors. (#GH211943)
-- Fixed a wrong code generation in `__builtin_clear_padding` wherein the
-  wrong bits of the `_BitInt` type were cleared in big-endian mode.
+- Fixed wrong code generation in `__builtin_clear_padding` wherein the wrong
+  bits of the following types were cleared: `_BitInt`, struct bitfields, and
+  packed boolean vectors. (#GH215809), (#GH216063), (#GH224033)
 - Fixed an assertion failure when `__builtin_vectorelements` is applied to a
   reference to a vector type; `vec_step` (in C++ for OpenCL) and
   `__builtin_ptrauth_type_discriminator` similarly no longer accept reference



More information about the cfe-commits mailing list