HomeFreeBSD

Stop clang 13 from defining conflicting macros on PowerPC

Description

Stop clang 13 from defining conflicting macros on PowerPC

Merge commit c9539f957f57 from llvm git (by Nemanja Ivanovic):

[PowerPC] Define XL-compatible macros only for AIX and Linux

Since XLC only ever shipped on PowerPC AIX and Linux, it is not
reasonable to provide the compatibility macros on any target other
than those two. This patch restricts those macros to AIX/Linux.

Differential revision: https://reviews.llvm.org/D110213

PR: 258209

Details

Provenance
dimAuthored on Oct 1 2021, 7:43 PM
Parents
rG28a41182c08e: Merge llvm-project 13.0.0 release
Branches
Unknown
Tags
Unknown