[NFC][PowerPC] Add the inheritable and additional features to make the processor...
authorQingShan Zhang <qshanz@cn.ibm.com>
Tue, 3 Dec 2019 06:32:46 +0000 (06:32 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Tue, 3 Dec 2019 06:32:46 +0000 (06:32 +0000)
commit4cde2d6b8db6257739c44d339a1677934b154704
tree991097b73ca5b2d79d106dd140f0a3c2877230f4
parentf1e3988aa6016188c376b9bcca1afc7559f9fbc0
[NFC][PowerPC] Add the inheritable and additional features to make the processor definition more clear

The old processor design assume that, all the old processor's feature must be
inherited into future processor. That is not true as instruction fusion or some
implementation defined features are not inheritable.

What this patch did:
  * Rename the old "specific features" to "additional features" that keep the new added inheritable features.
  * Use the "specific features" to keep those features only for specific processor.
  * Add the "inheritable features" to keep all the features that inherited from early processor.

Differential Revision: https://reviews.llvm.org/D70768
llvm/lib/Target/PowerPC/PPC.td