[PATCH] D70768: [NFC][PowerPC] Add the inheritable and additional features to make the processor definition more clear

qshanz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 23:56:21 PST 2019


steven.zhang created this revision.
steven.zhang added reviewers: nemanjai, jsji, stefanp, hfinkel, PowerPC.
Herald added subscribers: shchenz, wuzish, jfb, kbarton, hiraditya.
Herald added a project: LLVM.
steven.zhang edited the summary of this revision.

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.  See https://reviews.llvm.org/D70651 and https://reviews.llvm.org/D70466.

- 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.


https://reviews.llvm.org/D70768

Files:
  llvm/lib/Target/PowerPC/PPC.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70768.231183.patch
Type: text/x-patch
Size: 7420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191127/1418d63e/attachment.bin>


More information about the llvm-commits mailing list