nvc0/ir: safen up lowering logic against overwriting reused values
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 8 Apr 2017 04:05:18 +0000 (00:05 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 7 Jan 2018 16:15:23 +0000 (11:15 -0500)
commit7f92c8ee3709b7e229321636ee15b6b7571fe3ea
treeaf517610571b3f07a67fcfbd3dfa584f93a27298
parentbdf300e09d8ddbcacac5d7c8d727e5c2f5635f50
nvc0/ir: safen up lowering logic against overwriting reused values

I'm fairly sure both of the changed sites are OK as-is, but they're
fragile, so this is just safening them up. Since this is happening
pre-ssa, we don't want to be overwriting values that may potentially get
used later on.

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