[InstCombine] remove shl(neg x), y transform
This diff was accidentally committed with:
1b5a195845
This commit is contained in:
parent
6de1dbbd09
commit
be0698559b
|
@ -1007,9 +1007,6 @@ Instruction *InstCombinerImpl::visitShl(BinaryOperator &I) {
|
|||
return BinaryOperator::CreateAnd(Mask, X);
|
||||
}
|
||||
|
||||
if (match(Op0, m_OneUse(m_Neg(m_Value(X)))))
|
||||
return BinaryOperator::CreateNeg(Builder.CreateShl(X, Op1));
|
||||
|
||||
Constant *C1;
|
||||
if (match(Op1, m_Constant(C1))) {
|
||||
Constant *C2;
|
||||
|
|
Loading…
Reference in a new issue