On z/OS there is a hard limitation on on the maximum requestable alignment in aligned attribute for static variables. We need to truncate values greater than that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D98864
[SystemZ][z/OS] Set maximum value to truncate attribute aligned to for static variables on z/OS target ClosedPublic Authored by fanbo-meng on Mar 18 2021, 6:49 AM.
Details Summary On z/OS there is a hard limitation on on the maximum requestable alignment in aligned attribute for static variables. We need to truncate values greater than that.
Diff Detail
Event TimelineNancyWang2222 added a child revision: D98793: [SystemZ][z/OS] fix lit test related to alignment .Mar 18 2021, 9:44 AM This revision is now accepted and ready to land.Mar 18 2021, 10:02 AM This revision was landed with ongoing or failed builds.Mar 29 2021, 6:44 AM Closed by commit rG0858f0e09e33: [SystemZ][z/OS] Set maximum value to truncate attribute aligned to for static… (authored by fanbo-meng). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 333852 clang/include/clang/Basic/TargetInfo.h
clang/lib/AST/ASTContext.cpp
clang/lib/Basic/TargetInfo.cpp
clang/lib/Basic/Targets/OSTargets.h
clang/test/CodeGen/SystemZ/zos-alignment.c
|