nir: make nir_instrs_equal() static
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 24 Sep 2015 06:10:13 +0000 (02:10 -0400)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 9 Oct 2015 14:15:15 +0000 (10:15 -0400)
commitbf5f931aee35e8448a6560545d86deb35f0639b3
treedcce3bf1aa8fce57510798cb02d6e79f99ea6d46
parente8308d0523f7dc78b34099cfe2c3d3daedb27d4c
nir: make nir_instrs_equal() static

This was previously tied to CSE, since it would only work for
instructions where nir_can_cse() (now instr_can_rewrite()) returned
true. Now that CSE uses the instruction set abstraction which only uses
this internally, we can make it local to nir_instr_set.c.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_instr_set.c
src/glsl/nir/nir_instr_set.h