llvm/test/CodeGen
Jakob Stoklund Olesen 352d352c02 Always normalize spill weights, also for intervals created by spilling.
Moderate the weight given to very small intervals.

The spill weight given to new intervals created when spilling was not
normalized in the same way as the original spill weights calculated by
CalcSpillWeights. That meant that restored registers would tend to hang around
because they had a much higher spill weight that unspilled registers.

This improves the runtime of a few tests by up to 10%, and there are no
significant regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96613 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 21:33:05 +00:00
..
Alpha
ARM Use NEON vmin/vmax instructions for floating-point selects. 2010-02-18 06:05:53 +00:00
Blackfin
CBackend
CellSPU
CPP
Generic
Mips
MSP430
PIC16
PowerPC Make g5 target explicit; scheduling affects register choice. 2010-02-16 23:25:23 +00:00
SPARC
SystemZ
Thumb
Thumb2
X86 Always normalize spill weights, also for intervals created by spilling. 2010-02-18 21:33:05 +00:00
XCore