summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocPBQP.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2010-02-17 03:42:51 +0000
committerLang Hames <lhames@gmail.com>2010-02-17 03:42:51 +0000
commita6b80dd031a122a80683414db4f3858b85d89e49 (patch)
tree8217427c34d31d85a53997192ce18206c7790c32 /lib/CodeGen/RegAllocPBQP.cpp
parent9feae9f0de032c66d01d16399a4c5296e38870e3 (diff)
downloadllvm-a6b80dd031a122a80683414db4f3858b85d89e49.tar.gz
llvm-a6b80dd031a122a80683414db4f3858b85d89e49.tar.bz2
llvm-a6b80dd031a122a80683414db4f3858b85d89e49.tar.xz
Removed an early out which was causing the PBQP allocator to not compute live-in sets or run the rewriter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp
index 2701fafbf9..d09e1bc485 100644
--- a/lib/CodeGen/RegAllocPBQP.cpp
+++ b/lib/CodeGen/RegAllocPBQP.cpp
@@ -867,10 +867,6 @@ bool PBQPRegAlloc::runOnMachineFunction(MachineFunction &MF) {
// Find the vreg intervals in need of allocation.
findVRegIntervalsToAlloc();
- // If there aren't any then we're done here.
- if (vregIntervalsToAlloc.empty() && emptyVRegIntervals.empty())
- return true;
-
// If there are non-empty intervals allocate them using pbqp.
if (!vregIntervalsToAlloc.empty()) {