nir: Optimize find_lsb/imsb/umsb error checks
authorMatt Turner <mattst88@gmail.com>
Fri, 30 Jun 2017 22:48:19 +0000 (15:48 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 20 Jul 2017 23:56:50 +0000 (16:56 -0700)
commitaff108f2fd303ea4671541c8eca8550ddf69dc13
treeee453fc4f9975d87fceefa4605a887e9dfa0cdbd
parent069bf7c9078a1b03414a6ace4bbff887e212ab90
nir: Optimize find_lsb/imsb/umsb error checks

Two of the ARB_shader_ballot piglit tests hit the find_lsb case,
removing some of the noise allowed me to better debug the test when it
was failing.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_opt_algebraic.py