diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-11 00:27:34 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-11 00:27:34 +0000 |
commit | 850e143cbf20f9e071d5f2389a0ab8d4982d5dc8 (patch) | |
tree | 548cc76ca1ab8657bb61cc35d76399eab0199072 | |
parent | 2591afca0a600f2df902865cb1ab4ffeeb380f89 (diff) | |
download | bcm5719-llvm-850e143cbf20f9e071d5f2389a0ab8d4982d5dc8.tar.gz bcm5719-llvm-850e143cbf20f9e071d5f2389a0ab8d4982d5dc8.zip |
Temporarily revert 48175.
llvm-svn: 48204
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 8 |
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: " |