freedreno/ir3: do idiv lowering after main opt loop
authorRob Clark <robclark@freedesktop.org>
Mon, 9 May 2016 16:41:00 +0000 (12:41 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Jun 2016 20:05:03 +0000 (16:05 -0400)
commit1535519e51af75c6860c07d4403c77f18634cb09
treef1c37a6ccaaf65677ada19e8ee90665295168563
parentdfbae7d64f4d563bc65af338cdcb217f10474c1c
freedreno/ir3: do idiv lowering after main opt loop

Give algebraic-opt pass a chance to catch udiv by const power-of-two,
before running lower-idiv pass.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_nir.c