[all-commits] [llvm/llvm-project] f46c41: [SystemZ][z/OS] fix lit test related to alignment
NancyWang2019 via All-commits
all-commits at lists.llvm.org
Tue Mar 23 10:16:33 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f46c41febb88182f172d0260b55bd17e4c690a43
https://github.com/llvm/llvm-project/commit/f46c41febb88182f172d0260b55bd17e4c690a43
Author: Nancy Wang <wangn at ca.ibm.com>
Date: 2021-03-23 (Tue, 23 Mar 2021)
Changed paths:
M clang/test/AST/alignas_maybe_odr_cleanup.cpp
M clang/test/CodeGen/PR5060-align.c
M clang/test/Layout/itanium-union-bitfield.cpp
Log Message:
-----------
[SystemZ][z/OS] fix lit test related to alignment
This patch is to fix lit test case failure relate to alignment, on z/OS, maximum alignment value for 64 bit mode is 16 and also fixed clang/test/Layout/itanium-union-bitfield.cpp, attribute ((aligned(4))) is needed for bit-field member in Union for z/OS because single bit-field has one byte alignment, this will make sure size and alignment will be correct value on z/OS.
Differential Revision: https://reviews.llvm.org/D98793
More information about the All-commits
mailing list