[llvm] 1ec109e - [X86] combineCarryThroughADD - remove unused peek through of SEXT/AEXT nodes.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 09:22:59 PDT 2022
Author: Simon Pilgrim
Date: 2022-03-29T17:22:50+01:00
New Revision: 1ec109ec589c8a84f246124ffc444a021b8b44e1
URL: https://github.com/llvm/llvm-project/commit/1ec109ec589c8a84f246124ffc444a021b8b44e1
DIFF: https://github.com/llvm/llvm-project/commit/1ec109ec589c8a84f246124ffc444a021b8b44e1.diff
LOG: [X86] combineCarryThroughADD - remove unused peek through of SEXT/AEXT nodes.
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index cb1f3343a65d4..6c571c06a22f8 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -44717,8 +44717,6 @@ static SDValue combineCarryThroughADD(SDValue EFLAGS, SelectionDAG &DAG) {
SDValue Carry = EFLAGS.getOperand(0);
while (Carry.getOpcode() == ISD::TRUNCATE ||
Carry.getOpcode() == ISD::ZERO_EXTEND ||
- Carry.getOpcode() == ISD::SIGN_EXTEND ||
- Carry.getOpcode() == ISD::ANY_EXTEND ||
(Carry.getOpcode() == ISD::AND &&
isOneConstant(Carry.getOperand(1))))
Carry = Carry.getOperand(0);
More information about the llvm-commits
mailing list