From a9f03fba9dda6fb72d49941b4e10cd7ce204d625 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Wed, 25 Feb 2004 22:01:06 +0000 Subject: Remove asssert since it is breaking cases that it shouldn't. llvm-svn: 11841 --- llvm/lib/CodeGen/RegAllocLinearScan.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp') 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 -- cgit v1.2.3