When RegAllocGreedy decides to spill the interferences of the current register,
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 22 Dec 2010 22:01:30 +0000 (22:01 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 22 Dec 2010 22:01:30 +0000 (22:01 +0000)
commit770d42de3b7643b2b4f835f32e3a16275b9fbdba
treef8dde7fffe1bfa257a50921bd0b4abb9d848b151
parentc64379da075a59bd5178c62c970c8d2b84457ab2
When RegAllocGreedy decides to spill the interferences of the current register,
pick the victim with the lowest total spill weight.

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