ir3: Cleanup ir3_legalize jump optimization
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 1 Sep 2020 13:22:14 +0000 (15:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Jul 2021 16:02:41 +0000 (16:02 +0000)
commit7a8e0b15e2f87589c58695bd6557a1cc8fd8aaa3
treef3c86784ecffe358a57e18c69dff04816d1375cf
parent43e926a3afadf1503ad1d00b62b10e78520d79ac
ir3: Cleanup ir3_legalize jump optimization

Do the optimization parts in their own loop, and be more robust when
detecting the useless jumps.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6752>
src/freedreno/ir3/ir3_legalize.c