https://github.com/nikic commented: This needs more test coverage, which will also make it easier to understand what the actual behavior is... At a high level, this looks fine to me. https://github.com/llvm/llvm-project/pull/200596