[all-commits] [llvm/llvm-project] 4c2c6c: [PPC][NFC] Replace TM with Subtarget->getTargetMac...

Kit Barton via All-commits all-commits at lists.llvm.org
Tue Jun 30 15:25:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c2c6c7cc1663ee123be806fa02ead0f175568bc
      https://github.com/llvm/llvm-project/commit/4c2c6c7cc1663ee123be806fa02ead0f175568bc
  Author: Kit Barton <kbarton at ca.ibm.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

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

  Log Message:
  -----------
  [PPC][NFC] Replace TM with Subtarget->getTargetMachine() in preparation for GlobalISel.

There are two uses of TM (instance of TargetMachine) when checking options.
These will not work once we enable GlobalISel. This patch replaces those uses of
TM with Subtarget->getTargetMachine().




More information about the All-commits mailing list