Go to file
Jakob Stoklund Olesen c953acbd7f 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.

llvm-svn: 96613
2010-02-18 21:33:05 +00:00
clang Revert the ctor/dtor alias optimization for now; the buildbots can detect 2010-02-18 21:31:48 +00:00
compiler-rt add __sync_synchronize. Needed by compiler when emitting thumb1 with -fno-builtin 2010-02-02 21:34:04 +00:00
llvm Always normalize spill weights, also for intervals created by spilling. 2010-02-18 21:33:05 +00:00