mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
InstCombine: Small whitespace cleanup in FoldGEPICmp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -679,7 +679,7 @@ Instruction *InstCombiner::FoldGEPICmp(GEPOperator *GEPLHS, Value *RHS,
|
|||||||
}
|
}
|
||||||
if (AllZeros)
|
if (AllZeros)
|
||||||
return FoldGEPICmp(GEPRHS, GEPLHS->getOperand(0),
|
return FoldGEPICmp(GEPRHS, GEPLHS->getOperand(0),
|
||||||
ICmpInst::getSwappedPredicate(Cond), I);
|
ICmpInst::getSwappedPredicate(Cond), I);
|
||||||
|
|
||||||
// If the other GEP has all zero indices, recurse.
|
// If the other GEP has all zero indices, recurse.
|
||||||
AllZeros = true;
|
AllZeros = true;
|
||||||
|
Reference in New Issue
Block a user