forked from OSchip/llvm-project
[SCEV] Fix formatting error introduced by D112080
Accidentally pushed D112080 without this clang-format cleanup.
This commit is contained in:
parent
57553ce432
commit
9c44a0996c
|
@ -10669,8 +10669,10 @@ bool ScalarEvolution::isImpliedCond(ICmpInst::Predicate Pred, const SCEV *LHS,
|
|||
auto BitWidth = getTypeSizeInBits(NarrowType);
|
||||
const SCEV *MaxValue = getZeroExtendExpr(
|
||||
getConstant(APInt::getMaxValue(BitWidth)), WideType);
|
||||
if (isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, FoundLHS, MaxValue) &&
|
||||
isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, FoundRHS, MaxValue)) {
|
||||
if (isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, FoundLHS,
|
||||
MaxValue) &&
|
||||
isKnownViaNonRecursiveReasoning(ICmpInst::ICMP_ULE, FoundRHS,
|
||||
MaxValue)) {
|
||||
const SCEV *TruncFoundLHS = getTruncateExpr(FoundLHS, NarrowType);
|
||||
const SCEV *TruncFoundRHS = getTruncateExpr(FoundRHS, NarrowType);
|
||||
if (isImpliedCondBalancedTypes(Pred, LHS, RHS, FoundPred, TruncFoundLHS,
|
||||
|
|
Loading…
Reference in New Issue