nv50/ir: handle insn not being there for definition of CVT arg
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 26 Jul 2019 05:01:45 +0000 (01:01 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Jul 2019 22:24:11 +0000 (18:24 -0400)
commit3e468ff2feb3fce4909ea35e7212bb99601ea816
treeef31bc0ee0639834bfe601ce10c99b6ca284009e
parent23dfff0669ef351372379b517b455cee2f9bb9c7
nv50/ir: handle insn not being there for definition of CVT arg

This can happen if it's e.g. a uniform or a function argument.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111217
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp