Removed an early out which was causing the PBQP allocator to not compute live-in...
[oota-llvm.git] / 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()) {