[llvm] [llvm][aarch64] fix copypaste typo (PR #120725)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 20 04:27:43 PST 2024
https://github.com/klensy created https://github.com/llvm/llvm-project/pull/120725
moved from #119881
cc @davemgreen
>From fb4b03259b908886dbb794a2715c163b7020627c Mon Sep 17 00:00:00 2001
From: klensy <nightouser at gmail.com>
Date: Fri, 20 Dec 2024 15:22:53 +0300
Subject: [PATCH] [skip ci] fix typo
---
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index a27c030237c878..1dce6189f0c290 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -18396,7 +18396,7 @@ static SDValue performUADDVAddCombine(SDValue A, SelectionDAG &DAG) {
EVT VT = A.getValueType();
SDValue Op0 = A.getOperand(0);
SDValue Op1 = A.getOperand(1);
- if (Op0.getOpcode() != Op0.getOpcode() ||
+ if (Op0.getOpcode() != Op1.getOpcode() ||
(Op0.getOpcode() != ISD::ZERO_EXTEND &&
Op0.getOpcode() != ISD::SIGN_EXTEND))
return SDValue();
More information about the llvm-commits
mailing list