ra: Don't use regs as the ralloc context.
authorMatt Turner <mattst88@gmail.com>
Fri, 21 Nov 2014 07:46:03 +0000 (23:46 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 1 Dec 2014 19:32:54 +0000 (11:32 -0800)
commit2e007fd621dba6e298c67e8bd1a8f26a4b6dc984
tree7bdbb261b8ed75f3ed85d94162f98961f7fa1a44
parent933c67877678704c2d1a11b46c2703a3f04178ce
ra: Don't use regs as the ralloc context.

The i965 backends pass something out of 'screen', which is allocated
per-process, making using this as a ralloc context not thread-safe.

All callers ra_alloc_interference_graph() already ralloc_free() its
return value.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/util/register_allocate.c