Skip to content

Commit 4f1d8ec

Browse files
committed
clang-format
1 parent 68a20f0 commit 4f1d8ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/DependenceAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,8 +2831,8 @@ static std::optional<APInt> getConstanCoefficient(const SCEV *Expr) {
28312831
if (const auto *Constant = dyn_cast<SCEVConstant>(Expr))
28322832
return Constant->getAPInt();
28332833
if (const auto *Product = dyn_cast<SCEVMulExpr>(Expr))
2834-
if (Product->hasNoSignedWrap())
2835-
if (auto *Constant = dyn_cast<SCEVConstant>(Product->getOperand(0)))
2834+
if (const auto *Constant = dyn_cast<SCEVConstant>(Product->getOperand(0)))
2835+
if (Product->hasNoSignedWrap())
28362836
return Constant->getAPInt();
28372837
return std::nullopt;
28382838
}

0 commit comments

Comments
 (0)