[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp

Alkis Evlogimenos alkis at niobe.cs.uiuc.edu
Wed Feb 25 16:02:01 PST 2004


Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.65 -> 1.66

---
Log message:

Remove asssert since it is breaking cases that it shouldn't.


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

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.65 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.66
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.65	Wed Feb 25 13:37:44 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Wed Feb 25 16:01:06 2004
@@ -378,7 +378,6 @@
     }
     DEBUG(std::cerr << "\t\tregister with min weight: "
           << mri_->getName(minReg) << " (" << minWeight << ")\n");
-    assert(minReg != 0 && "Didn't find a register to spill?");
 
     // if the current has the minimum weight, we need to modify it,
     // push it back in unhandled and let the linear scan algorithm run





More information about the llvm-commits mailing list