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

Victor Campos via All-commits all-commits at lists.llvm.org
Wed Sep 16 07:17:47 PDT 2026


  Branch: refs/heads/users/vhscampos/builtin_clear_padding-packedboolvec
  Home:   https://github.com/llvm/llvm-project
  Commit: e2f5000ea4d72fd41ff8e95c6fd9b6518f97d892
      https://github.com/llvm/llvm-project/commit/e2f5000ea4d72fd41ff8e95c6fd9b6518f97d892
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2026-09-16 (Wed, 16 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

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