mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
Cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df3d63b896
commit
11ed0317bc
@ -7422,10 +7422,9 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
|
||||
Constant::getNullValue(Q->getType()));
|
||||
Instruction *Op;
|
||||
if (ICI.getPredicate() == ICmpInst::ICMP_EQ)
|
||||
Op = BinaryOperator::CreateAnd(ICIP, ICIQ, "");
|
||||
Op = BinaryOperator::CreateAnd(ICIP, ICIQ);
|
||||
else
|
||||
Op = BinaryOperator::CreateOr(ICIP, ICIQ, "");
|
||||
Op->takeName(&ICI);
|
||||
Op = BinaryOperator::CreateOr(ICIP, ICIQ);
|
||||
return Op;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user