ir3/legalize: Fix helper propagation with b.any/b.all/getone
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 7 Dec 2023 12:27:12 +0000 (07:27 -0500)
committerEric Engestrom <eric@engestrom.ch>
Tue, 9 Jan 2024 19:37:45 +0000 (19:37 +0000)
commit6c3a6a9c0f07585bfe02ada590f73bcf360eb9ac
tree79d2dee96c40a5727fc3d66cb0c4529e9281d14e
parent354363cc89185c215b121218f03f9e24bc61fa9d
ir3/legalize: Fix helper propagation with b.any/b.all/getone

We need to set uses_helpers_beginning in order to propagate it to
predecessor blocks.

Fixes: aa322a37fcb ("ir3: Implement helper invocation optimization")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26564>
(cherry picked from commit 862df28f6b1c42ec4b716cdcdd427cd1eab43899)
.pick_status.json
src/freedreno/ci/freedreno-a660-fails.txt
src/freedreno/ir3/ir3_legalize.c