JonChesterfield wrote: Effectively a subset of https://github.com/llvm/llvm-project/pull/131190/, I'd still like to land this and rebase 131190 on the grounds of signal to noise ratio. https://github.com/llvm/llvm-project/pull/131164