This is a prerequisite for dropping LLVM 8/9 support from radeonsi without losing its CI testing.
Current pipeline state: https://gitlab.freedesktop.org/daenzer/mesa/-/pipelines/289906
I'll start comment threads about the remaining issues.
(First patch is from !9738 (merged))