https://github.com/qcolombet approved this pull request. Nice catch! The infinite looping was one of my fear for doing that outside of the regular splitting heuristic. I should have caught this. Anyhow thanks for the fix. https://github.com/llvm/llvm-project/pull/67351