diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-29 06:31:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-29 06:31:16 +0000 |
| commit | bceb68807fdb86c794bc8d8f8aef0940f12c2ceb (patch) | |
| tree | a5f66bcb71b2cf498474c602202a93da5b34bf73 /lib/Target | |
| parent | 620ee02353d8b65959dc01a66b073adfcdef9eac (diff) | |
| download | external_llvm-bceb68807fdb86c794bc8d8f8aef0940f12c2ceb.zip external_llvm-bceb68807fdb86c794bc8d8f8aef0940f12c2ceb.tar.gz external_llvm-bceb68807fdb86c794bc8d8f8aef0940f12c2ceb.tar.bz2 | |
Eliminate the distinction between "real" and "unreal" instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/SparcV9/InstrSched/InstrScheduling.cpp | 2 | ||||
| -rw-r--r-- | lib/Target/TargetSchedInfo.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp index b273bcb..5395a81 100644 --- a/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp +++ b/lib/Target/SparcV9/InstrSched/InstrScheduling.cpp @@ -520,7 +520,7 @@ SchedulingManager::SchedulingManager(const TargetMachine& target, nextEarliestIssueTime(0), choicesForSlot(nslots), numInClass(target.getSchedInfo().getNumSchedClasses(), 0), // set all to 0 - nextEarliestStartTime(target.getInstrInfo().getNumRealOpCodes(), + nextEarliestStartTime(target.getInstrInfo().getNumOpcodes(), (cycles_t) 0) // set all to 0 { updateTime(0); diff --git a/lib/Target/TargetSchedInfo.cpp b/lib/Target/TargetSchedInfo.cpp index f33223c..33538ce 100644 --- a/lib/Target/TargetSchedInfo.cpp +++ b/lib/Target/TargetSchedInfo.cpp @@ -119,7 +119,7 @@ void TargetSchedInfo::computeInstrResources(const std::vector<InstrRUsage>& instrRUForClasses) { - int numOpCodes = mii->getNumRealOpCodes(); + int numOpCodes = mii->getNumOpcodes(); instrRUsages.resize(numOpCodes); // First get the resource usage information from the class resource usages. @@ -149,7 +149,7 @@ void TargetSchedInfo::computeIssueGaps(const std::vector<InstrRUsage>& instrRUForClasses) { - int numOpCodes = mii->getNumRealOpCodes(); + int numOpCodes = mii->getNumOpcodes(); issueGaps.resize(numOpCodes); conflictLists.resize(numOpCodes); |
