Switch MachineTraceMetrics to the new TargetSchedModel interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165235 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2012-10-04 17:30:40 +00:00
parent e37091931c
commit f43fe1d163
3 changed files with 28 additions and 32 deletions

View File

@@ -63,6 +63,7 @@ public:
bool FindMin) const;
unsigned getProcessorID() const { return SchedModel.getProcessorID(); }
unsigned getIssueWidth() const { return SchedModel.IssueWidth; }
private:
/// getDefLatency is a helper for computeOperandLatency. Return the