mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdb5b01df4
commit
27a98482bd
@ -2290,7 +2290,7 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) {
|
||||
if (match(Op0, m_Not(m_Value(A)))) {
|
||||
if (match(Op1, m_Not(m_Value(B))))
|
||||
return new ICmpInst(I.getPredicate(), B, A);
|
||||
if (ConstantInt *RHSC = dyn_cast<ConstantInt>(B))
|
||||
if (ConstantInt *RHSC = dyn_cast<ConstantInt>(Op1))
|
||||
return new ICmpInst(I.getPredicate(), ConstantExpr::getNot(RHSC), A);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user