nv50/ir: allow load propagation when flags are defined
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 3 May 2014 04:26:14 +0000 (00:26 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 8 May 2014 00:40:46 +0000 (20:40 -0400)
commit5a40fe03f7d7a32b1dce675e1d55f40f72090569
tree4bbb205d7d074cefdf8a59d5fcf2053aa07a9de2
parent83b900fd0a2187fe70e553ac782660cd23c5041c
nv50/ir: allow load propagation when flags are defined

The old condition disallowed load propagation any time flags were
defined, even with e.g. set and a constbuf reference. The new condition
disallows it only with immediate propagation. (There are no opcodes that
set the condition flag and have an immediate argument.)

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