[PowerPC][AIX} FIx AIX bootstrap build.
authorSean Fertile <sd.fertile@gmail.com>
Tue, 1 Jun 2021 17:39:02 +0000 (13:39 -0400)
committerSean Fertile <sd.fertile@gmail.com>
Wed, 2 Jun 2021 13:31:11 +0000 (09:31 -0400)
commit81f7607f7c7dadc9da2345455fa8e6f5eb9788f1
tree881f5c735f526014afe132f11f9ea729f88b725e
parent034503e9d2d66ab75679ab5d2ee0848f4de3cac7
[PowerPC][AIX} FIx AIX bootstrap build.

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

Differential Revision: https://reviews.llvm.org/D103474
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/include/llvm/IR/BasicBlock.h