ra: Add ra_set_node_reg()
authorTom Stellard <tstellar@gmail.com>
Sun, 27 Mar 2011 05:56:08 +0000 (22:56 -0700)
committerTom Stellard <tstellar@gmail.com>
Sat, 30 Apr 2011 18:00:15 +0000 (11:00 -0700)
commite4a765ae2de21dada2e1206baf6b17a381193b42
tree3c805abed8e073f38dcdd861b7d68ac1e6cdd84f
parentdbac75fa2f8495c879d841803b494e7411427863
ra: Add ra_set_node_reg()

This function can be used to avoid creating single register classes for
input/payload registers.  This makes optimistic coloring less likely
to fail.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/program/register_allocate.c
src/mesa/program/register_allocate.h