diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-07-01 00:23:27 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-07-01 00:23:27 +0000 |
commit | 632987296f0549c37c780e89449905a128bdfe55 (patch) | |
tree | 34b591c54b4aa2adde0d02a97ea11a39cb319dee /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | cb38ffa74d4764c4e85428f8a105ead905424762 (diff) | |
download | bcm5719-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/CodeGen/MachineScheduler.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index a0ac320b977..d921e2977cc 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/lib/CodeGen/MachineScheduler.cpp @@ -2587,8 +2587,7 @@ void GenericScheduler::initPolicy(MachineBasicBlock::iterator Begin, RegionPolicy.OnlyBottomUp = true; // Allow the subtarget to override default policy. - MF.getSubtarget().overrideSchedPolicy(RegionPolicy, Begin, End, - NumRegionInstrs); + MF.getSubtarget().overrideSchedPolicy(RegionPolicy, NumRegionInstrs); // After subtarget overrides, apply command line options. if (!EnableRegPressure) |