[all-commits] [llvm/llvm-project] 462f83: [Clang] Fix padding clearing logic for packed bool...

Victor Campos via All-commits all-commits at lists.llvm.org
Mon Sep 21 01:56:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 462f83ce4fff5d7fef0e6beb6b8bb2e568a5d13f
      https://github.com/llvm/llvm-project/commit/462f83ce4fff5d7fef0e6beb6b8bb2e568a5d13f
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/CodeGen/builtin-clear-padding-codegen.c
    M clang/test/CodeGenCXX/builtin-clear-padding-codegen.cpp

  Log Message:
  -----------
  [Clang] Fix padding clearing logic for packed boolean vectors in big endian (#224033)

The memory layout of packed boolean vectors in big endian mode is quite
involved. This patch adds support for determining the occupied bits of
this type in big endian mode, so that the correct bits are cleared as
padding.



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