[all-commits] [llvm/llvm-project] 6f91cf: [SystemZ][z/OS] Ignore leading zero width bitfield...

Fanbo Meng via All-commits all-commits at lists.llvm.org
Fri Mar 26 07:10:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f91cf75d7f55c7beadeebeac7c1010a2e7c6553
      https://github.com/llvm/llvm-project/commit/6f91cf75d7f55c7beadeebeac7c1010a2e7c6553
  Author: Fanbo Meng <fanbo.meng at ibm.com>
  Date:   2021-03-26 (Fri, 26 Mar 2021)

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

  Log Message:
  -----------
  [SystemZ][z/OS] Ignore leading zero width bitfield alignment on z/OS target

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

Reviewed By: abhina.sreeskantharajan

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




More information about the All-commits mailing list