Rework the global split cost calculation.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 5 Mar 2011 03:28:51 +0000 (03:28 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 5 Mar 2011 03:28:51 +0000 (03:28 +0000)
commit874be74179b087be36a6e7869f3aa8b70732aca1
tree1ac94704a496c88b99d381df79ab4efa1b62ca7b
parent89be0acecfa4fe5662c5f9e0ba501a79a041b59f
Rework the global split cost calculation.

The global cost is the sum of block frequencies for spill code that must be
inserted because preferences weren't met.

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