nir/algebraic: Add lowering for 64-bit iadd_sat and isub_sat
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 27 Nov 2019 21:22:38 +0000 (13:22 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 00:18:57 +0000 (00:18 +0000)
commitd3d970166cad7d834811fd1f8bcd6c53db706bce
tree94a59c0c6c499fa8c534a970b3f92034e983fb4e
parentdcadbd2dd222ecaa4f14bdadf90587bda83deba7
nir/algebraic: Add lowering for 64-bit iadd_sat and isub_sat

v2: Rearranged and expand the comment about the optimizations applied to
the lowering.  Suggested by Caio.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/767>
src/compiler/nir/nir_opt_algebraic.py