https://github.com/nikic commented: Can you please add a PR description that explains what and why this is doing? It looks like JumpThreading already handles this. https://github.com/llvm/llvm-project/pull/146445