https://github.com/c-rhodes approved this pull request. I've left a few final comments but otherwise this LGTM, cheers. I would appreciate an integration test as well, but that doesn't need to be in this patch. https://github.com/llvm/llvm-project/pull/81625