https://github.com/nikic approved this pull request. LGTM. I was initially concerned that this pass could be used by out-of-tree backends, but this is actually a debugging pass. https://github.com/llvm/llvm-project/pull/73403