nv50/ir: treat addresses as local
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 18 May 2016 00:44:21 +0000 (20:44 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 May 2016 00:20:23 +0000 (20:20 -0400)
commit5c6b8cc7d056e8d78afb6fdbb25a03a665e96fda
tree828aea774404f2e8eea8c1239b5b06a19eb7b005
parent65c2abf6fdd51b0a80a72caa0c52cf3f4578e743
nv50/ir: treat addresses as local

Address registers are always loaded right before use. Don't treat them
as "global", which will cause them to be put into the function's
linkage, and will make the register allocator hold onto that
register until the end of the function.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp