https://github.com/smithp35 approved this pull request. LGTM for the code changes and approach. I've highlighted a couple of places where I think the comments may not line up. https://github.com/llvm/llvm-project/pull/109612