This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][AIX] Fix static_assert while bootstrapping.
ClosedPublic

Authored by sfertile on Jun 1 2021, 10:57 AM.

Details

Summary

A recent patch https://reviews.llvm.org/rGe0921655b1ff8d4ba7c14be59252fe05b705920e changed clangs AIX bitfield handling to uses 4-byte bitfield containers, matching XLs behavior. This change triggers static assert failures when bootsrapping. Update the macros we check to enable bitfield packing on AIX to in check for __clang__ which is defined by both xlclang and clang.

Diff Detail

Event Timeline

sfertile created this revision.Jun 1 2021, 10:57 AM
sfertile requested review of this revision.Jun 1 2021, 10:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2021, 10:57 AM
This revision is now accepted and ready to land.Jun 1 2021, 4:15 PM
This revision was automatically updated to reflect the committed changes.