pan/bi: Gate late DCE/CSE on "optimize"
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 23 Mar 2022 13:22:40 +0000 (09:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Mar 2022 19:00:13 +0000 (19:00 +0000)
commitb70a7c97bb030f52e73ab93261b4ff09d517db44
tree9357cd87a6dd6355a52eb8c891ecfae542a04b59
parent3485b8dc78d8515665158c606b48e7ce21eae1f2
pan/bi: Gate late DCE/CSE on "optimize"

Otherwise we can end up with unlowered ATOM.i32 on Valhall.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
src/panfrost/bifrost/bifrost_compile.c