nir: remove fnot/fxor/fand/for opcodes
authorJonathan Marek <jonathan@marek.ca>
Fri, 21 Jun 2019 03:22:02 +0000 (23:22 -0400)
committerJonathan Marek <jonathan@marek.ca>
Wed, 26 Jun 2019 19:26:10 +0000 (15:26 -0400)
commita70ff70158a22003948f449343a55ad47ce73996
tree8c63961a7b3efc65e8cc4203d9a42d83e306c2c3
parent0b5a483baaefa9a7e39c76607d8f0f435aa46315
nir: remove fnot/fxor/fand/for opcodes

There doesn't seem to be any reason to keep these opcodes around:
* fnot/fxor are not used at all.
* fand/for are only used in lower_alu_to_scalar, but easily replaced

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_alu_to_scalar.c
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
src/gallium/drivers/freedreno/a2xx/ir2_nir_lower_scalar.c
src/gallium/drivers/lima/ir/gp/nir.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp