[LLVMdev] [PATCH] Re: Pluggable Register Coalescers

David Greene dag at cray.com
Mon Jul 16 09:12:30 PDT 2007


On Friday 13 July 2007 13:32, David A. Greene wrote:
> On Wednesday 11 July 2007 15:07, Christopher Lamb wrote:
> > Could it be possible for there to be a harness type interface that
> > would allow coalescers that support both modes to be hooked into the
> > pass registration, and those that depend on the allocator not be
> > registered as passes?
>
> I have a patch for this kind of thing attached.  Please take a look and let
> me know if it looks reasonable. 

No comments?  I'm continuing to implement a new coalescer and trying to
figure out how to factor out the code to merge live intervals from the current
implementation.  It's hard because that code is also doing legality checks.

Does the current implementation follow a published algorithm?  If so, do we
have a pointer to it?  The comments are rather sparse and it's difficult to 
figure out what's going on at times.

                                                   -Dave



More information about the llvm-dev mailing list