[llvm] [AArch64] Allow peephole to optimize AND + signed compare with 0 (PR #153608)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 22 08:31:07 PDT 2025
================
@@ -161,6 +161,87 @@ define i1 @lt64_u16_and_23(i64 %0) {
ret i1 %3
}
+define i1 @test_disjoint(i1 %0, i32 %1, i32 %2) {
----------------
MacDue wrote:
I think it'd be nice to commit the tests before your changes, then commit the changes (within the same PR), to show how the tests have changed, which makes review easier.
https://github.com/llvm/llvm-project/pull/153608
More information about the llvm-commits
mailing list