Hi All,<div><br></div><div>A quick note for any PBQP users out there: As of r114626 the new <font class="Apple-style-span" face="'courier new', monospace">PBQPBuilder</font> based problem construction process is the default. I'll leave the old (internal-to-the-allocator) construction process in place for a few days while everything's being tested, but assuming there are no serious regressions it will be removed soon. You don't need to do anything, but during this transition period if your application starts breaking you can pass -pbqp-builder=false to llc/lli to get the old construction process and see if that fixes things. If it does it would indicate a problem with the new builder code and you should file a bug asap.<div>
<br></div><div>Anyone who's actually tempted to try adding custom constraints: The allocator has been moved back out of the <font class="Apple-style-span" face="'courier new', monospace">RegAllocPBQP.h</font> header to hide the gory details. To construct an instance you can just call <font class="Apple-style-span" face="'courier new', monospace">createPBQPRegisterAllocator</font> and pass your builder in.</div>
<div><br></div><div>Cheers,</div><div>Lang.<br><br><div class="gmail_quote">On Wed, Sep 22, 2010 at 12:02 AM, Lang Hames <span dir="ltr"><<a href="mailto:lhames@gmail.com">lhames@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>* This claim is only partially tested, but I'm running the allocator right now with the base constraints plus an extension which adds coalescing costs and it's just passed CINT2006 without error. Not bad given that the coalescing extension only took a couple of hours to write</div>

</blockquote><div><br></div></div><div> Following up on this footnote - The <font face="'courier new', monospace">PBQPBuilderWithCoalescing</font> builder is now in the mainline. If anyone's looking for an example of how to add custom constraints this is a good one.</div>

<div><br></div><div>Cheers,</div><div>Lang.</div></div>
</blockquote></div><br></div></div>