summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-07-01 00:23:27 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-07-01 00:23:27 +0000
commit632987296f0549c37c780e89449905a128bdfe55 (patch)
tree34b591c54b4aa2adde0d02a97ea11a39cb319dee /llvm/lib/Target/PowerPC/PPCSubtarget.h
parentcb38ffa74d4764c4e85428f8a105ead905424762 (diff)
downloadbcm5719-llvm-632987296f0549c37c780e89449905a128bdfe55.tar.gz
bcm5719-llvm-632987296f0549c37c780e89449905a128bdfe55.zip
Target: Remove unused arguments from overrideSchedPolicy, NFC
TargetSubtargetInfo::overrideSchedPolicy takes two MachineInstr* arguments (begin and end) that invite implicit conversions from MachineInstrBundleIterator. One option would be to change their type to an iterator, but since they don't seem to have been used since the API was added in 2010, I'm deleting the dead code. llvm-svn: 274304
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 55500d3eb4b..9fe286a3b7a 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -303,8 +303,6 @@ public:
void getCriticalPathRCs(RegClassVector &CriticalPathRCs) const override;
void overrideSchedPolicy(MachineSchedPolicy &Policy,
- MachineInstr *begin,
- MachineInstr *end,
unsigned NumRegionInstrs) const override;
bool useAA() const override;
OpenPOWER on IntegriCloud