[LLVMdev] Spillers

David Greene dag at cray.com
Mon Aug 6 14:10:23 PDT 2007


On Monday 06 August 2007 16:44, Chris Lattner wrote:

> >> Unfortunately, it seems that current implementation doesn't support such
> >> "clever" spilling.
> >
> > True.  People have talked about adding it ever since I started getting
> > involved.
>
> To be clear, the spiller interface does support (or could with very
> straight-forward extension) splitting, it just requires you to give the
> split ranges new intervals and a new vreg.

Right.  Splitting should happen outside of the spiller, in the allocator 
proper.  The spiller should not care how intervals got there.  Except for the
ones that perform spills and reloads, of course.  :)

                                                 -Dave



More information about the llvm-dev mailing list