[llvm-commits] CVS: llvm/lib/Target/MachineSchedInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 27 23:00:01 PST 2002
Changes in directory llvm/lib/Target:
MachineSchedInfo.cpp updated: 1.6 -> 1.7
---
Log message:
Make sched class unsigned
---
Diffs of the changes:
Index: llvm/lib/Target/MachineSchedInfo.cpp
diff -u llvm/lib/Target/MachineSchedInfo.cpp:1.6 llvm/lib/Target/MachineSchedInfo.cpp:1.7
--- llvm/lib/Target/MachineSchedInfo.cpp:1.6 Sat Oct 12 19:37:46 2002
+++ llvm/lib/Target/MachineSchedInfo.cpp Sun Oct 27 22:59:43 2002
@@ -126,7 +126,7 @@
// First get the resource usage information from the class resource usages.
for (MachineOpCode op = 0; op < numOpCodes; ++op) {
InstrSchedClass sc = getSchedClass(op);
- assert(sc >= 0 && sc < numSchedClasses);
+ assert(sc < numSchedClasses);
instrRUsages[op] = instrRUForClasses[sc];
}
More information about the llvm-commits
mailing list