pan/mdg: Only lower once
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 6 Feb 2023 15:58:33 +0000 (10:58 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:46 +0000 (23:53 +0000)
commit924f68fe4b5bd481bd3f484ba55c3cc4098adf81
treea1678a24ac13e9e17320bf4a2a1b2daf989e444c
parent02f570e33d30cc08842b28d72ba53f6c11ebe9b3
pan/mdg: Only lower once

Nothing in the optimization loop should remat the lowered instructions, so
there's no need to do it inside the loop.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Italo Nicola <italonicola@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>
src/panfrost/midgard/midgard_compile.c