[PATCH] D98890: [SystemZ][z/OS] Ignore leading zero width bitfield alignment on z/OS target

Fanbo Meng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 18 12:57:44 PDT 2021


fanbo-meng created this revision.
fanbo-meng added reviewers: abhina.sreeskantharajan, hubert.reinterpretcast, Kai, SeanP, rsmith.
fanbo-meng requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Zero length bitfield alignment is not respected if they are leading members on z/OS target.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98890

Files:
  clang/include/clang/Basic/TargetInfo.h
  clang/lib/AST/RecordLayoutBuilder.cpp
  clang/lib/Basic/TargetInfo.cpp
  clang/lib/Basic/Targets/OSTargets.h
  clang/test/CodeGen/SystemZ/zos-alignment.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98890.331661.patch
Type: text/x-patch
Size: 4468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210318/a36d9d35/attachment-0001.bin>


More information about the cfe-commits mailing list