pan/bi: Validate before&after pre-RA sched
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 14 Jul 2022 15:30:44 +0000 (11:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit7631e5a5145d93821ffe30427ef7a399888d548f
treed5e881d6058e2fadb72035e2ba5929317e59475c
parent563d98c5c64d5ed2ff4be77d0f4afacd42989f30
pan/bi: Validate before&after pre-RA sched

Pre-RA scheduling can move instructions around in nontrivial ways, yet it must
maintain the IR's ordering invariants (for preloads, phis, etc.) Running
validation before and after makes scheduler bugs more obvious.

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