[llvm] r184105 - Switch spill weights from a basic loop depth estimation to BlockFrequencyInfo.

Benjamin Kramer benny.kra at gmail.com
Mon Jun 17 14:06:19 PDT 2013


On 17.06.2013, at 22:55, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:

> 
> On Jun 17, 2013, at 12:00 PM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> 
>> Author: d0k
>> Date: Mon Jun 17 14:00:36 2013
>> New Revision: 184105
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=184105&view=rev
>> Log:
>> Switch spill weights from a basic loop depth estimation to BlockFrequencyInfo.
> 
> Thanks, Ben!
> 
> Are you also going to kill off floating point completely in the register allocator?


Sure, I can give it a try. Can you explain what we should replace the floating point trickery in SpillPlacement with? It uses values that can't be represented properly with BlockFrequencies or BranchProbabilities currently.

- Ben



More information about the llvm-commits mailing list