[all-commits] [llvm/llvm-project] b8f612: [PowerPC][AIX] Packed zero-width bitfields do not ...

Sean Fertile via All-commits all-commits at lists.llvm.org
Wed Aug 4 08:04:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8f612e780e50cfb62bc0196b6367e4587949f88
      https://github.com/llvm/llvm-project/commit/b8f612e780e50cfb62bc0196b6367e4587949f88
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M clang/lib/AST/RecordLayoutBuilder.cpp
    M clang/test/Layout/aix-packed-bitfields.c

  Log Message:
  -----------
  [PowerPC][AIX] Packed zero-width bitfields do not affect alignment.

Zero-width bitfields on AIX pad out to the natral alignment boundary but
do not change the containing records alignment.

Differential Revision: https://reviews.llvm.org/D106900




More information about the All-commits mailing list