mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Silence warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6a2410d58
commit
1cc6452181
@ -2054,8 +2054,8 @@ namespace {
|
||||
case ICmpInst::ICMP_SLT:
|
||||
case ICmpInst::ICMP_ULT:
|
||||
if (Op1->getValue() != 0)
|
||||
NextVal = cast<ConstantInt>(ConstantExpr::getAdd(
|
||||
Op1, ConstantInt::get(Op1->getType(), -1)));
|
||||
NextVal = cast<ConstantInt>(ConstantExpr::getSub(
|
||||
Op1, ConstantInt::get(Op1->getType(), 1)));
|
||||
break;
|
||||
case ICmpInst::ICMP_SGT:
|
||||
case ICmpInst::ICMP_UGT:
|
||||
|
Loading…
Reference in New Issue
Block a user