[PPC][NFC] Replace TM with Subtarget->getTargetMachine() in preparation for GlobalISel.
authorKit Barton <kbarton@ca.ibm.com>
Tue, 30 Jun 2020 17:38:31 +0000 (12:38 -0500)
committerKit Barton <kbarton@ca.ibm.com>
Tue, 30 Jun 2020 22:19:24 +0000 (17:19 -0500)
commit4c2c6c7cc1663ee123be806fa02ead0f175568bc
tree804ccf9f967303816c7d0d6e229e628727a72ef5
parentc8f1d442d0858f66fd4128fde6f67eb5202fa2b1
[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().
llvm/lib/Target/PowerPC/PPCInstrInfo.td