Skip to content

Commit 5b2b67b

Browse files
committed
[InstCombine] Remove unnecessary worklist push; NFCI
This is no longer needed after d4627b9, should have dropped it there...
1 parent d4627b9 commit 5b2b67b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3099,7 +3099,6 @@ Instruction *InstCombiner::visitXor(BinaryOperator &I) {
30993099
if (match(Op0, m_Or(m_Value(X), m_APInt(C))) &&
31003100
MaskedValueIsZero(X, *C, 0, &I)) {
31013101
Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC);
3102-
Worklist.push(cast<Instruction>(Op0));
31033102
return BinaryOperator::CreateXor(X, NewC);
31043103
}
31053104
}

0 commit comments

Comments
 (0)