Change the way we choose a free register: instead of picking the first
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Thu, 2 Sep 2004 21:24:33 +0000 (21:24 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Thu, 2 Sep 2004 21:24:33 +0000 (21:24 +0000)
commit70619fae28414db54e00be2f9052a66cd245a9c8
tree1875eeeaf956c81eb1932946afe7497bb858ba61
parent84f5bcb0139789010eb4a4509fddf811def8794e
Change the way we choose a free register: instead of picking the first
free allocatable register, we prefer the a free one with the most uses
of inactive intervals.

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