Go back to comparing spill weights when deciding if interference can be evicted.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Mar 2011 21:32:50 +0000 (21:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 Mar 2011 21:32:50 +0000 (21:32 +0000)
commitd17924b1bd0329acb8be2d7dfc5fc4434c24b832
tree702b5dcda17c18b7acf572cb1a3c514394bbce6b
parent38b5e86b9c67f601f354f8bcc11f5a515e200315
Go back to comparing spill weights when deciding if interference can be evicted.

It gives better results. Sometimes, a live range can be large and still have
high spill weight. Such a range should not be spilled.

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