Removed an early out which was causing the PBQP allocator to not compute live-in...
authorLang Hames <lhames@gmail.com>
Wed, 17 Feb 2010 03:42:51 +0000 (03:42 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 17 Feb 2010 03:42:51 +0000 (03:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96450 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocPBQP.cpp

index 2701fafbf9ba8c0b503a159f8dcff3c0059293d1..d09e1bc485067e2d39b1ef9126f0f345de46703e 100644 (file)
@@ -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()) {