From: Lang Hames Date: Wed, 17 Feb 2010 03:42:51 +0000 (+0000) Subject: Removed an early out which was causing the PBQP allocator to not compute live-in... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a6b80dd031a122a80683414db4f3858b85d89e49;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 2701fafbf9b..d09e1bc4850 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()) {