[llvm] [AArch64] Eliminate redundant setcc on vector comparison results (PR #171431)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 12 11:07:54 PST 2025
================
@@ -4746,6 +4746,19 @@ SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
}
}
+ // setcc X, 0, setlt --> X (when X is all sign bits)
----------------
arsenm wrote:
Isn't there already a similar check special cased for zero or one boolean content? Can these be merged?
https://github.com/llvm/llvm-project/pull/171431
More information about the llvm-commits
mailing list