intel/fs: Don't lower integer multiplies that don't need lowering
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 5 Dec 2019 16:25:34 +0000 (08:25 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 00:18:57 +0000 (00:18 +0000)
commit74cd0964d684d7b91207b442eb3237fee1e4b4e0
treee79dc61dd32513da42b15c685764d8939f1a0810
parentdb649fd5822569e1f33b058c0f4d38c27a47b083
intel/fs: Don't lower integer multiplies that don't need lowering

v2: Move the check to fs_visitor::lower_integer_multiplication.
Previously the cases where lowering was skipped, the original
instruction was removed by fs_visitor::lower_integer_multiplication.

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