nv50/ir: the mad source might not have a defining instruction
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 3 Dec 2015 01:10:54 +0000 (20:10 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 3 Dec 2015 01:41:37 +0000 (20:41 -0500)
commit11fcf46590129abfa2ca2117a320e8a8052761e4
tree5221949338cb37f6c6e1ee90b058fd80f0a937f9
parent52b68375aeaa1ff6bca48eb833176d3498aa48f7
nv50/ir: the mad source might not have a defining instruction

For example if it's $r63 (aka 0), there won't be a definition.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp