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 | f20abac9bc48dac64afa0ff60a206e1f7e940546 (patch) | |
tree | 22c89a274912ff056ffdc87d8bc2c4d832e39cd0 /llvm/lib | |
parent | e65125dcdf456eeab00cdea9def76cc838164b32 (diff) | |
download | bcm5719-llvm-f20abac9bc48dac64afa0ff60a206e1f7e940546.tar.gz bcm5719-llvm-f20abac9bc48dac64afa0ff60a206e1f7e940546.zip |
Eliminate the distinction between "real" and "unreal" instructions
llvm-svn: 11986
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/TargetSchedInfo.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index b273bcb05a1..5395a8197cf 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/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/llvm/lib/Target/TargetSchedInfo.cpp b/llvm/lib/Target/TargetSchedInfo.cpp index f33223c43a6..33538cec9e8 100644 --- a/llvm/lib/Target/TargetSchedInfo.cpp +++ b/llvm/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); |