summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-09-03 20:36:26 +0000
committerEric Christopher <echristo@gmail.com>2014-09-03 20:36:26 +0000
commite08189195bb71dccba2f80b908043cc082dea1eb (patch)
treeeb4f96450f618ccd61b9566cc7a89ebf969a2553 /llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
parent4b02d91db04129fc26930ea0290004d40d14f34f (diff)
downloadbcm5719-llvm-e08189195bb71dccba2f80b908043cc082dea1eb.tar.gz
bcm5719-llvm-e08189195bb71dccba2f80b908043cc082dea1eb.zip
Remove unnecessary getTarget call now that the subtarget is cached
on the machine function. llvm-svn: 217070
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 7a94d1314f4..1240a81736d 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -2518,7 +2518,7 @@ void AArch64InstrInfo::genAlternativeCodeSequence(
MachineBasicBlock &MBB = *Root.getParent();
MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo();
MachineFunction &MF = *MBB.getParent();
- const TargetInstrInfo *TII = MF.getTarget().getSubtargetImpl()->getInstrInfo();
+ const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo();
MachineInstr *MUL;
const TargetRegisterClass *RC;
OpenPOWER on IntegriCloud