pan/bi: Only lower once
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 6 Feb 2023 15:57:15 +0000 (10:57 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:46 +0000 (23:53 +0000)
commit02f570e33d30cc08842b28d72ba53f6c11ebe9b3
treea094ea1bb619d506389564c33bda1e7b7ac2dd3a
parentc333c0ea57fe81a94d06aa61261f754c4482ebae
pan/bi: 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: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>
src/panfrost/compiler/bifrost_compile.c