[llvm-commits] [llvm] r91273 - in /llvm/trunk: include/llvm/CodeGen/CalcSpillWeights.h lib/CodeGen/CalcSpillWeights.cpp lib/CodeGen/PreAllocSplitting.cpp lib/CodeGen/RegAllocLinearScan.cpp lib/CodeGen/RegAllocPBQP.cpp lib/CodeGen/SimpleRegisterCo

Lang Hames lhames at gmail.com
Mon Dec 14 18:36:17 PST 2009


> I think you can do without the header file. Just put a
> CalculateSpillWeightsID in Passes.h instead.
>

I'm planning to add functionality to the pass to compute the spill weight of
individual intervals. Passes using this (such as the new spiller) will need
access to the interface.


> > +/// Returns true if the given live interval is zero length.
> > +bool CalculateSpillWeights::isZeroLengthInterval(LiveInterval *li) const
> {
>
> Should this be a method on LiveInterval instead?
>

Probably. I'll move it over. :)

- Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091215/a0696aec/attachment.html>


More information about the llvm-commits mailing list