panfrost: Remove unneeded phi nodes
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 6 Jan 2020 13:31:38 +0000 (14:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jan 2020 14:09:47 +0000 (14:09 +0000)
commit440b0d6eec273728bd31d454bd1a874c2ecb9eb7
treefd33c237967315714e694e38dff6579c5362cd9e
parent809c8feb92d33c43ace3ef25584a2adca24b1be0
panfrost: Remove unneeded phi nodes

Add a pass to remove unneeded phi nodes as done in other drivers.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3294>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3294>
src/panfrost/midgard/midgard_compile.c