https://github.com/kuhar approved this pull request. LGTM. Some bit could use cleanup, but keeping it to pure code motion makes this PR much easier to review and land for sure. https://github.com/llvm/llvm-project/pull/116994