nv50/ir: make sure entire graph is reachable
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Dec 2015 05:38:22 +0000 (00:38 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Dec 2015 23:51:15 +0000 (18:51 -0500)
commit52b68375aeaa1ff6bca48eb833176d3498aa48f7
tree3516c8a4760c1bf2ea38566a91fab87ef954e41a
parentadcc547bfbef362067bb3b4e3aee75b287bc6189
nv50/ir: make sure entire graph is reachable

The algorithm expects the entire CFG to be reachable, so make sure that
we hit every node. Otherwise we will end up with uninitialized data,
memory corruption, etc.

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