[PATCH] D36411: Restore previous structure ABI for bitfields with 'packed' attribute for PS4 targets

Matthew Voss via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 14:09:37 PDT 2017


ormris added a comment.

An ABI change was introduced in r254596 that modified structure layouts when the 'packed' attribute was used on one-byte bitfields. Since the PS4 target needs to maintain backwards compatibility for all structure layouts, this change reintroduces the old behavior for PS4 targets only. It also introduces PS4 specific cases to the relevant test.

See the following review for discussion of r254596.
https://reviews.llvm.org/D14872


https://reviews.llvm.org/D36411





More information about the cfe-commits mailing list