nir/search: Only allow matching SSA values
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 10 Jan 2017 18:24:55 +0000 (10:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 11 Jan 2017 18:28:18 +0000 (10:28 -0800)
commitc472568b4e458c9882a98850668f99144c7ca6bf
tree24265407da22653d2f9eae03e2f7fd26e126bd69
parent534ea2b5ba0282a350dc02d21bfbc8ffa1f8635d
nir/search: Only allow matching SSA values

This is more correct and should also be a tiny bit faster since we're
just comparing pointers instead of calling nir_src_equal.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/compiler/nir/nir_search.c