summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-11 00:27:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-11 00:27:34 +0000
commit850e143cbf20f9e071d5f2389a0ab8d4982d5dc8 (patch)
tree548cc76ca1ab8657bb61cc35d76399eab0199072 /llvm/lib
parent2591afca0a600f2df902865cb1ab4ffeeb380f89 (diff)
downloadbcm5719-llvm-850e143cbf20f9e071d5f2389a0ab8d4982d5dc8.tar.gz
bcm5719-llvm-850e143cbf20f9e071d5f2389a0ab8d4982d5dc8.zip
Temporarily revert 48175.
llvm-svn: 48204
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index 144f0a7d430..d43cc19683c 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -685,14 +685,8 @@ void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur)
}
// All registers must have inf weight. Just grab one!
- if (!minReg) {
- if (active_.size() == 0) {
- // FIXME: All the registers are occupied by fixed intervals.
- cerr << "Register allocator ran out of registers!\n";
- abort();
- }
+ if (!minReg)
minReg = *RC->allocation_order_begin(*mf_);
- }
}
DOUT << "\t\tregister with min weight: "
OpenPOWER on IntegriCloud