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

Arnaud Allard de Grandmaison arnaud.adegm at gmail.com
Fri Nov 8 07:40:29 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131108/826c63c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CalculateSpillWeights-does-not-need-to-be-a-pass.patch
Type: text/x-patch
Size: 10307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131108/826c63c0/attachment.bin>


More information about the llvm-dev mailing list