[InstCombine] Remove unnecessary worklist push; NFCI

This is no longer needed after d4627b90a0,
should have dropped it there...
This commit is contained in:
Nikita Popov 2020-02-08 17:08:42 +01:00
parent d4627b90a0
commit 5b2b67be8e
1 changed files with 0 additions and 1 deletions

View File

@ -3099,7 +3099,6 @@ Instruction *InstCombiner::visitXor(BinaryOperator &I) {
if (match(Op0, m_Or(m_Value(X), m_APInt(C))) && if (match(Op0, m_Or(m_Value(X), m_APInt(C))) &&
MaskedValueIsZero(X, *C, 0, &I)) { MaskedValueIsZero(X, *C, 0, &I)) {
Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC); Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC);
Worklist.push(cast<Instruction>(Op0));
return BinaryOperator::CreateXor(X, NewC); return BinaryOperator::CreateXor(X, NewC);
} }
} }