nvc0/ir: unlink values pre- and post-call to division function
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Aug 2017 04:02:34 +0000 (00:02 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Aug 2017 18:49:08 +0000 (14:49 -0400)
commitea22ac23e04c093f9dd0bb8f9b946e61d79824ff
tree3aaed6fa246cb938637778dcfd8c203876828d86
parent22e1d8832c90702b4cd972e48f0db809f7c7639f
nvc0/ir: unlink values pre- and post-call to division function

While technically correct, this can lead to e.g. getImmediate assuming
that it can walk up the value chain. It could be fixed to not do this,
but it seems easier and less error-prone to just not link the two values
to save on one LValue object.

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