Recover most of the compile time regression due to recent live interval changes.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 28 Aug 2007 08:28:51 +0000 (08:28 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 28 Aug 2007 08:28:51 +0000 (08:28 +0000)
commit1a66f0a4f2348473263fab757d96588bc1e93554
tree5c6e1a72295a753933ae70883c23740a5d72b36f
parent51195af45f4142035f23c7d58d1311face3900a4
Recover most of the compile time regression due to recent live interval changes.
1. Eliminate the costly live interval "swapping".
2. Change ValueNumberInfo container from SmallVector to std::vector. The former
   performs slowly when the vector size is very large.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41536 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/SimpleRegisterCoalescing.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp