[llvm-commits] [llvm] r108615 - in /llvm/trunk: include/llvm/Analysis/LoopInfo.h include/llvm/CodeGen/LiveIntervalAnalysis.h lib/CodeGen/Splitter.cpp lib/CodeGen/Splitter.h

Lang Hames lhames at gmail.com
Sat Jul 17 17:10:04 PDT 2010


Hi Chris,

> Wouldn't it make more sense to integrate splitting with the spilling
policy?  It seems that it makes the most sense to do splitting while
iteratively handling spilling.  If you have enough registers, there is no
reason to split.

Yep - that's where I'm headed. The current setup is just meant to be a
trial-by-fire for splitter correctness.

Cheers,
Lang.

On Sun, Jul 18, 2010 at 2:02 AM, Chris Lattner <clattner at apple.com> wrote:

>
> On Jul 17, 2010, at 12:39 AM, Lang Hames wrote:
>
> > Also not hooked up to anything yet.
> >
> > At present if you require this pass in your register allocator it'll go
> ahead aggressively split all your intervals, undoing half of the
> SimpleRegisterCoalescer's good work. I'll change this to more sane behaviour
> soon.
>
> Hey Lang,
>
> Wouldn't it make more sense to integrate splitting with the spilling
> policy?  It seems that it makes the most sense to do splitting while
> iteratively handling spilling.  If you have enough registers, there is no
> reason to split.
>
> -Chris
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100718/54f506f0/attachment.html>


More information about the llvm-commits mailing list