nv50/ir: OP_JOIN is a flow instruction
authorJürgen Rühle <j-r@online.de>
Sat, 6 Jun 2015 16:37:20 +0000 (18:37 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 15 Jun 2015 15:46:32 +0000 (11:46 -0400)
commit2e42deb29c878fb4c52aed6d2d54833aacba18ae
tree296a1b8d1b27349ff0e0de8e71eee6df6efb07fc
parent061c9bc2042b0686867e4321d94ba18761a6a1a7
nv50/ir: OP_JOIN is a flow instruction

OP_JOIN instructions are assumed to be flow instructions and mercilessly
casted to FlowInstruction.

This patch fixes an instance where an OP_JOIN is created as a plain
instruction. This can cause crashes in the ir printer.

[imirkin: add ->fixed = 1]
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp