[all-commits] [llvm/llvm-project] 4cde2d: [NFC][PowerPC] Add the inheritable and additional ...

QingShan Zhang via All-commits all-commits at lists.llvm.org
Mon Dec 2 22:37:02 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cde2d6b8db6257739c44d339a1677934b154704
      https://github.com/llvm/llvm-project/commit/4cde2d6b8db6257739c44d339a1677934b154704
  Author: QingShan Zhang <qshanz at cn.ibm.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPC.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list