llvm/include
Jakob Stoklund Olesen eb9f040f0d Move more fragments of spill weight calculation into CalcSpillWeights.h
Simplify the spill weight calculation a bit by bypassing
getApproximateInstructionCount() and using LiveInterval::getSize() directly.
This changes the computed spill weights, but only by a constant factor in each
function. It should not affect how spill weights compare against each other, and
so it shouldn't affect code generation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125530 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-14 23:15:38 +00:00
..
llvm Move more fragments of spill weight calculation into CalcSpillWeights.h 2011-02-14 23:15:38 +00:00
llvm-c Don't open the file again in the gold plugin. To be able to do this, update 2011-02-08 22:40:47 +00:00