This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ][z/OS] Set default alignment rules for z/OS target
ClosedPublic

Authored by fanbo-meng on Oct 5 2020, 12:46 PM.

Diff Detail

Event Timeline

fanbo-meng created this revision.Oct 5 2020, 12:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2020, 12:46 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
fanbo-meng requested review of this revision.Oct 5 2020, 12:46 PM

fix no newline at end of file

fanbo-meng set the repository for this revision to rG LLVM Github Monorepo.Oct 5 2020, 1:37 PM
This revision is now accepted and ready to land.Oct 6 2020, 6:36 AM
clang/test/CodeGen/zos-alignment.c
114

The testing for no-attribute potentially 8-byte aligning zero-width bitfields in a non-initial position is missing.

struct A {
   char x;
   long : 0;
   char q;
};

What does the above do?