[PowerPC] Add new Future CPU for PowerPC
authorStefan Pintilie <stefanp@ca.ibm.com>
Thu, 21 Nov 2019 19:28:51 +0000 (13:28 -0600)
committerStefan Pintilie <stefanp@ca.ibm.com>
Thu, 21 Nov 2019 19:35:48 +0000 (13:35 -0600)
commit5fcf89f77893b4c3367f23dd82b426f783e67cff
tree512d1f7bb05c89c1c1703e428b824dce4a71e070
parentf5759d5dbc441f1fe956757408f46e65611b94e5
[PowerPC] Add new Future CPU for PowerPC

This patch will add -mcpu=future into clang for PowerPC.

A CPU type is required for work that may possibly be enabled for some future
Power CPU. The CPU type future will serve that purpose. This patch introduces
no new functionality. It is an incremental patch on top of which Power PC work
for some future CPU can be done.

Differential Revision: https://reviews.llvm.org/D70262
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/PPC.h
clang/lib/Driver/ToolChains/Arch/PPC.cpp
clang/test/Misc/target-invalid-cpu-note.c
clang/test/Preprocessor/init.c