lima: Use ra_alloc_contig_reg_class().
authorEric Anholt <eric@anholt.net>
Fri, 5 Mar 2021 18:37:20 +0000 (10:37 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 4 Jun 2021 19:08:57 +0000 (19:08 +0000)
commit23df5dba92ae679b508dc3b6ccf11fc1f0144edc
treef14fe88b0ff03e75ad6dab1f0a0b358e703417ab
parentcf33316ec0bc1040dfe96f11650a4887720dad71
lima: Use ra_alloc_contig_reg_class().

This greatly simplifies our register allocation code and reduces the
number of registers RA has to walk over.

Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9437>
src/gallium/drivers/lima/ir/pp/regalloc.c