[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Sep 2 11:00:49 PDT 2004



Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.92 -> 1.93
---
Log message:

We don't need to sort the added vector as unhandled intervals are
stored in a binary heap.


---
Diffs of the changes:  (+0 -1)

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.92 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.93
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.92	Wed Sep  1 17:55:35 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Thu Sep  2 13:00:38 2004
@@ -515,7 +515,6 @@
     }
   }
 
-  std::sort(added.begin(), added.end(), less_ptr<LiveInterval>());
   // merge added with unhandled
   for (unsigned i = 0, e = added.size(); i != e; ++i)
     unhandled_.push(added[i]);






More information about the llvm-commits mailing list