agx: Set phi sources in predecessors
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 1 Aug 2023 12:15:13 +0000 (08:15 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:28 +0000 (20:31 +0000)
commit87121cf9a4c62bf20d63f500b0a9d3281e15b648
treef5379624d2fabb4cb418b4478c8fb0e4236a35a7
parent8cc96d64b0badda3898f00c3691da300dd3a096f
agx: Set phi sources in predecessors

This ensures correctness with live range splits. Now agx_set_sources is only for
non-phis where it makes sense.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/asahi/compiler/agx_register_allocate.c