Connor Abbott <cwabbo...@gmail.com> writes:

> Before, when we encountered a situation where we had to optimistically
> color a node, we would immediately give up and push all the remaining
> nodes on the stack in the order of their index - which is a random, and
> potentially not optimal, order. Instead, choose one node to
> optimistically color in ra_select(), and then once we've optimistically
> colored it, keep on going as normal in the hopes that we've opened up
> more avenues for the normal select phase to make progress. In cases with
> high register pressure, this helps make the order we push things on the
> stack much better, and therefore increase the chance that we can allocate
> successfully.

This makes a lot of sense, and the results speak for themselves.  Let's
figure out how to preserve "don't spill things that definitely won't
help", and then land this.

Attachment: pgp_V4mC45Cwh.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to