[all-commits] [llvm/llvm-project] e09216: [AIX] Implement AIX special bitfield related align...
xling-liao via All-commits
all-commits at lists.llvm.org
Mon May 17 08:31:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0921655b1ff8d4ba7c14be59252fe05b705920e
https://github.com/llvm/llvm-project/commit/e0921655b1ff8d4ba7c14be59252fe05b705920e
Author: Xiangling Liao <Xiangling.Liao at ibm.com>
Date: 2021-05-17 (Mon, 17 May 2021)
Changed paths:
M clang/lib/AST/RecordLayoutBuilder.cpp
A clang/test/Layout/aix-bitfield-alignment.c
A clang/test/Layout/aix-bitfield-alignment.cpp
Log Message:
-----------
[AIX] Implement AIX special bitfield related alignment rules
1.[bool, char, short] bitfields have the same alignment as unsigned int
2.Adjust alignment on typedef field decls/honor align attribute
3.Fix alignment for scoped enum class
4.Long long bitfield has 4bytes alignment and StorageUnitSize under 32 bit
compile mode
Differential Revision: https://reviews.llvm.org/D87029
More information about the All-commits
mailing list