https://github.com/RKSimon requested changes to this pull request. Still needs test coverage - and the patch title/description needs updating to actually describe what that patch does and is for https://github.com/llvm/llvm-project/pull/82411