Change weight array into a vector and make it as big as the number of
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 1 Feb 2004 20:13:26 +0000 (20:13 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 1 Feb 2004 20:13:26 +0000 (20:13 +0000)
commit04667297afe523b4bbab94bd1b6cec6d66267ca4
treed5ece8f1706623db15c55f7c2a6617d5ddccf699
parentf440cc19c931120630c75af142d7c4737ae67a56
Change weight array into a vector and make it as big as the number of
registers (not as the max number of registers).

Change toSpill from a std::set into a std::vector<bool>.

Use the reverse iterator adapter to do a reverse scan of allocatable
registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11061 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLinearScan.cpp