[LLVMdev] Spillers

Chris Lattner sabre at nondot.org
Mon Aug 6 14:44:54 PDT 2007


On Mon, 6 Aug 2007, David Greene wrote:
>> split into smth like  [10, 40) and [40, 50). The former part should not be
>> precolored as it has  less conflicts (it doesn't intersects with [40, 45) )
>> and can be colored entirely by one register on the next iteration.
>
> Right.  Live range splitting would indeed be nice to have.  Bill's
> implementation has a flavor of it.
>
>> 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.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list