nir: Add nir_alu_srcs_negative_equal
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 23 May 2018 01:18:07 +0000 (18:18 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 28 Mar 2019 22:35:52 +0000 (15:35 -0700)
commitc6ee46a7532291fc8583400e174e77b1833daf23
tree444019076e5a24429ed28f7f09bd04e16c127bbc
parentbe1cc3552bc8af23612e37521bc90d106610e62e
nir: Add nir_alu_srcs_negative_equal

v2: Move bug fix in get_neg_instr from the next patch to this patch
(where it was intended to be in the first place).  Noticed by Caio.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir.h
src/compiler/nir/nir_instr_set.c
src/compiler/nir/tests/negative_equal_tests.cpp