[llvm] [InstCombine] Replace an integer comparison of a `phi` node with multiple `ucmp`/`scmp` operands and a constant with `phi` of individual comparisons of original intrinsic's arguments (PR #107769)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 11 02:31:27 PDT 2024
https://github.com/nikic approved this pull request.
LGTM
Worth noting that as implemented, the one-use check is also load-bearing for correctness, not just profitability. Otherwise we'd have to make sure we handle multi-edges correctly.
https://github.com/llvm/llvm-project/pull/107769
More information about the llvm-commits
mailing list