pan/bi: Optimize out redundant jumps to #0x0
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 18 Feb 2021 18:53:33 +0000 (13:53 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 17:12:55 +0000 (17:12 +0000)
commita496b41d50589191ad2e37a17019aef0dafcb9f2
tree9e1a3819f1b4df4b45cc249b1e402a8ef216d8e6
parent46384d0dcceeae285dea5566e4c026c971dd8d01
pan/bi: Optimize out redundant jumps to #0x0

If it's the last instruction, that's silly.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9137>
src/panfrost/bifrost/bifrost_compile.c