nir,amd: remove trinary_minmax opcodes
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 18 Jun 2020 14:14:20 +0000 (15:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Aug 2020 20:56:11 +0000 (20:56 +0000)
commita79dad950b1f10ddeca2c907025a0f649b470cb9
treeb3e9d6f5002e7d9eccd6f3deeabfc60a17eced2f
parent1fa43a4a8ec37aacac4d333a4c72987819188e69
nir,amd: remove trinary_minmax opcodes

These consist of the variations nir_op_{i|u|f}{min|max|med}3 which are either
lowered in the backend (LLVM) anyway or can be recombined by the backend (ACO).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6421>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp
src/amd/llvm/ac_llvm_build.c
src/amd/llvm/ac_nir_to_llvm.c
src/compiler/nir/nir_lower_int64.c
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py
src/compiler/nir/nir_range_analysis.c
src/compiler/spirv/vtn_amd.c