[llvm] [InstCombine] Fold comparisons of llvm.usub.sat result with its LHS (PR #214108)
Andreas Jonson via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 13:00:01 PDT 2026
================
@@ -425,6 +425,88 @@ define <2 x i1> @icmp_eq_vector_multiuse_negative_equal(<2 x i8> %arg) {
ret <2 x i1> %cmp
}
+define i1 @icmp_eq_lhs_nonzero_constant(i64 %x) {
----------------
andjo403 wrote:
add usub_sat to the name of the tests maybe
https://github.com/llvm/llvm-project/pull/214108
More information about the llvm-commits
mailing list