[all-commits] [llvm/llvm-project] b3db7d: [TargetInstrInfo][PowerPC] Remove virtual function...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Dec 9 12:51:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3db7dde79ea146136a9fe1408e8a55f678b6458
      https://github.com/llvm/llvm-project/commit/b3db7dde79ea146136a9fe1408e8a55f678b6458
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h

  Log Message:
  -----------
  [TargetInstrInfo][PowerPC] Remove virtual function that is only called from PPC specific code.

There are two signatures of setSpecialOperandAttr in TargetInstrInfo.
One of them is only called from PPCInstrInfo which has an override
of it.

Remove it from TargetInstrInfo and make it a non-virtual method in
PPCInstrInfo.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D115404




More information about the All-commits mailing list