Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Volodymyr Vasylkun be7d08cd59 [InstCombine] Fold sext(A < B) + zext(A > B) into ucmp/scmp(A, B) (#103833)
This change also covers the fold of `zext(A > B) - zext(A < B)` since it
is already being canonicalized into the aforementioned pattern.

Proof: https://alive2.llvm.org/ce/z/AgnfMn
2024-08-21 23:15:24 +01:00

108 KiB