https://github.com/gchatelet requested changes to this pull request. I'd like to see proof that the split is correct, since it's going to come up again I think a function + tests would get us covered. https://github.com/llvm/llvm-project/pull/68269