https://github.com/aemerson commented: It's hard to see the code changes when the function is moved. Can you split this PR into 2 commits, one moving and one extending the functionality? https://github.com/llvm/llvm-project/pull/75223