agx: Don't use ssa_to_reg across blocks
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 1 Aug 2023 13:13:02 +0000 (09:13 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:28 +0000 (20:31 +0000)
commitd035908550fc4d57a56cf2c7a3cbcf5f39896fed
tree3e54d147421f6a9c37de26947525be2d65e292ff
parent964a67fda4cab3f4867adf7321128a22df6a5e03
agx: Don't use ssa_to_reg across blocks

This is a footgun with live range spltiting.

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