Skip to content

Commit 1ec109e

Browse files
committed
[X86] combineCarryThroughADD - remove unused peek through of SEXT/AEXT nodes.
1 parent 3c84e4a commit 1ec109e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44717,8 +44717,6 @@ static SDValue combineCarryThroughADD(SDValue EFLAGS, SelectionDAG &DAG) {
4471744717
SDValue Carry = EFLAGS.getOperand(0);
4471844718
while (Carry.getOpcode() == ISD::TRUNCATE ||
4471944719
Carry.getOpcode() == ISD::ZERO_EXTEND ||
44720-
Carry.getOpcode() == ISD::SIGN_EXTEND ||
44721-
Carry.getOpcode() == ISD::ANY_EXTEND ||
4472244720
(Carry.getOpcode() == ISD::AND &&
4472344721
isOneConstant(Carry.getOperand(1))))
4472444722
Carry = Carry.getOperand(0);

0 commit comments

Comments
 (0)