[LLVMdev] [PATCH] CalculateSpillWeights does not need to be a pass

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Nov 8 09:34:36 PST 2013


On Nov 8, 2013, at 7:40 AM, Arnaud Allard de Grandmaison <arnaud.adegm at gmail.com> wrote:

> Based on discussions with Lang Hames and Jakob Stoklund Olesen at the hacker's lab, and in the light of upcoming work on the PBQP register allocator, it was though that CalcSpillWeights does not need to be a pass. This change will enable to customize / tune the spill weight computation depending on the allocator.
> 
> Update the documentation style while there.
> 
> I also intend to take VirtRegAuxInfo out of line in a later patch as this is really a helper class for spill weight (re) computation.
> 
> Cheers,
> --
> Arnaud
> <0001-CalculateSpillWeights-does-not-need-to-be-a-pass.patch>

LGTM.

Thanks,
/jakob




More information about the llvm-dev mailing list