[PowerPC] Add new Future CPU for PowerPC in LLVM
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 27 Nov 2019 18:50:23 +0000 (12:50 -0600)
committerStefan Pintilie <stefanp@ca.ibm.com>
Wed, 27 Nov 2019 20:30:06 +0000 (14:30 -0600)
commitdcceab1a0ace424ba4877f53c4c69433e53f1f3f
tree0e80d5e03adbf0f2f38e55af4d3ffc05e574b7e7
parentf584f04dab69ab15c8942753a145f0c6e7693bcc
[PowerPC] Add new Future CPU for PowerPC in LLVM

This is a continuation of D70262
The previous patch as listed above added the future CPU in clang. This patch
adds the future CPU in the PowerPC backend. At this point the patch simply
assumes that a future CPU will have the same characteristics as pwr9. Those
characteristics may change with later patches.

Differential Revision: https://reviews.llvm.org/D70333
llvm/lib/Support/Host.cpp
llvm/lib/Target/PowerPC/PPC.td
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCSubtarget.h
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/check-cpu.ll [new file with mode: 0644]