[llvm-commits] CVS: llvm/lib/Target/TargetSchedInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 25 12:04:16 PDT 2004



Changes in directory llvm/lib/Target:

TargetSchedInfo.cpp updated: 1.20 -> 1.21
---
Log message:

Remove dead assert


---
Diffs of the changes:  (+0 -3)

Index: llvm/lib/Target/TargetSchedInfo.cpp
diff -u llvm/lib/Target/TargetSchedInfo.cpp:1.20 llvm/lib/Target/TargetSchedInfo.cpp:1.21
--- llvm/lib/Target/TargetSchedInfo.cpp:1.20	Mon Sep 27 21:53:15 2004
+++ llvm/lib/Target/TargetSchedInfo.cpp	Mon Oct 25 14:04:01 2004
@@ -170,9 +170,6 @@
   issueGaps.resize(numOpCodes);
   conflictLists.resize(numOpCodes);
 
-  assert(numOpCodes < (1 << MAX_OPCODE_SIZE) - 1
-         && "numOpCodes invalid for implementation of class OpCodePair!");
-
   // First, compute issue gaps between pairs of classes based on common
   // resources usages for each class, because most instruction pairs will
   // usually behave the same as their class.






More information about the llvm-commits mailing list