diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-03-04 00:42:55 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-03-04 00:42:55 +0000 |
commit | 49f022008603a0f2a9864f59061d513ada051360 (patch) | |
tree | da075fe917aa0823aabee3e7285713e0d2b655bf /llvm/lib/CodeGen/ScheduleDAGInstrs.cpp | |
parent | a84fd041c6378178ce837012c53fb182ec7a5c4b (diff) | |
download | bcm5719-llvm-49f022008603a0f2a9864f59061d513ada051360.tar.gz bcm5719-llvm-49f022008603a0f2a9864f59061d513ada051360.zip |
[MISched] Remove unused arguments. NFC.
llvm-svn: 296934
Diffstat (limited to 'llvm/lib/CodeGen/ScheduleDAGInstrs.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ScheduleDAGInstrs.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp index 20197295457..135e053da4f 100644 --- a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp @@ -539,8 +539,7 @@ static inline bool isGlobalMemoryObject(AliasAnalysis *AA, MachineInstr *MI) { /// Returns true if the two MIs need a chain edge between them. /// This is called on normal stores and loads. -static bool MIsNeedChainEdge(AliasAnalysis *AA, const MachineFrameInfo *MFI, - const DataLayout &DL, MachineInstr *MIa, +static bool MIsNeedChainEdge(AliasAnalysis *AA, MachineInstr *MIa, MachineInstr *MIb) { const MachineFunction *MF = MIa->getParent()->getParent(); const TargetInstrInfo *TII = MF->getSubtarget().getInstrInfo(); @@ -600,8 +599,7 @@ static bool MIsNeedChainEdge(AliasAnalysis *AA, const MachineFrameInfo *MFI, void ScheduleDAGInstrs::addChainDependency (SUnit *SUa, SUnit *SUb, unsigned Latency) { - if (MIsNeedChainEdge(AAForDep, &MFI, MF.getDataLayout(), SUa->getInstr(), - SUb->getInstr())) { + if (MIsNeedChainEdge(AAForDep, SUa->getInstr(), SUb->getInstr())) { SDep Dep(SUa, SDep::MayAliasMem); Dep.setLatency(Latency); SUb->addPred(Dep); |