diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 1 |
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 |