Skip to content

Commit 8dad351

Browse files
committed
!fixup getMinsSCEV -> getAddExpr + getMinusOne.
1 parent c424404 commit 8dad351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/ScalarEvolution.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16054,7 +16054,7 @@ const SCEV *ScalarEvolution::LoopGuards::rewrite(const SCEV *Expr) const {
1605416054
SE.getAddExpr(Expr->getOperand(0), SE.getOne(Expr->getType()));
1605516055
if (const SCEV *S =
1605616056
Map.lookup(SE.getAddExpr(NewC, Expr->getOperand(1))))
16057-
return SE.getMinusSCEV(S, SE.getOne(Expr->getType()));
16057+
return SE.getAddExpr(S, SE.getMinusOne(Expr->getType()));
1605816058
}
1605916059
}
1606016060

0 commit comments

Comments
 (0)