[clang][PowerPC] Remove remaining Darwin support
authorDavid Tenty <daltenty@ibm.com>
Mon, 20 Mar 2023 21:34:30 +0000 (17:34 -0400)
committerDavid Tenty <daltenty@ibm.com>
Tue, 28 Mar 2023 21:12:49 +0000 (17:12 -0400)
commit2fe49ea0d07d503aedd0872bf0a66724552d4dcf
treee2355d3087b9193ff59e7c345a9363ec1625ca87
parenta6f5585a94a0e6ac656568a98ccb6c9736d828d1
[clang][PowerPC] Remove remaining Darwin support

POWER Darwin support in the backend has been removed for some time: https://discourse.llvm.org/t/rfc-remove-darwin-support-from-power-backends
but Clang still has the TargetInfo and other remnants lying around.

This patch does some cleanup and removes those and other related frontend support still remaining. We adjust any tests using the triple to either remove
the test if unneeded or switch to another Power triple.

Reviewed By: MaskRay, nemanjai

Differential Revision: https://reviews.llvm.org/D146459
12 files changed:
clang/lib/Basic/Targets.cpp
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Driver/ToolChains/Darwin.cpp
clang/lib/Sema/SemaAttr.cpp
clang/test/Driver/default-toolchain.c
clang/test/Parser/altivec.c
clang/test/Parser/cxx-altivec.cpp
clang/test/Preprocessor/init-ppc.c
clang/test/Sema/altivec-init.c
clang/test/SemaCXX/cxx-altivec.cpp