https://github.com/psunn requested changes to this pull request. Good work, thanks. I have one requested change. The other comments can be addressed in follow-up PRs. https://github.com/llvm/llvm-project/pull/174620