[llvm] [AArch64] Signed comparison using CMN is safe when the subtraction is nsw (PR #141993)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 10:34:24 PDT 2025
================
@@ -3337,8 +3337,13 @@ static bool isLegalArithImmed(uint64_t C) {
return IsLegal;
}
-static bool cannotBeIntMin(SDValue CheckedVal, SelectionDAG &DAG) {
- KnownBits KnownSrc = DAG.computeKnownBits(CheckedVal);
+static bool cannotBeIntMin(SDValue Op, SelectionDAG &DAG) {
----------------
topperc wrote:
This function needs to be renamed since it no longer receives the operand and now receives the operation.
https://github.com/llvm/llvm-project/pull/141993
More information about the llvm-commits
mailing list