summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-25 22:01:06 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-25 22:01:06 +0000
commita9f03fba9dda6fb72d49941b4e10cd7ce204d625 (patch)
treede65f910baf6459f3daebe0664b2727e260707ef /llvm/lib
parentd8bace7f607c415ba88b552bce7ad89cca1b1505 (diff)
downloadbcm5719-llvm-a9f03fba9dda6fb72d49941b4e10cd7ce204d625.tar.gz
bcm5719-llvm-a9f03fba9dda6fb72d49941b4e10cd7ce204d625.zip
Remove asssert since it is breaking cases that it shouldn't.
llvm-svn: 11841
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index b45281e6719..42029dc6b0a 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -378,7 +378,6 @@ void RA::assignRegOrStackSlotAtInterval(IntervalPtrs::value_type cur)
}
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
OpenPOWER on IntegriCloud