[llvm-commits] [llvm] r96450 - /llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp

Lang Hames lhames at gmail.com
Tue Feb 16 19:42:51 PST 2010


Author: lhames
Date: Tue Feb 16 21:42:51 2010
New Revision: 96450

URL: http://llvm.org/viewvc/llvm-project?rev=96450&view=rev
Log:
Removed an early out which was causing the PBQP allocator to not compute live-in sets or run the rewriter.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp

Modified: llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=96450&r1=96449&r2=96450&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp Tue Feb 16 21:42:51 2010
@@ -867,10 +867,6 @@
   // 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()) {
 





More information about the llvm-commits mailing list