Skip to content

Commit 0a48a23

Browse files
committed
LAA: fix style; address review
1 parent 616eb80 commit 0a48a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/LoopAccessAnalysis.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2894,8 +2894,8 @@ static const SCEV *getStrideFromPointer(Value *Ptr, ScalarEvolution *SE, Loop *L
28942894
if (!StepConst)
28952895
return nullptr;
28962896

2897-
if (auto StepVal = StepConst->getAPInt().trySExtValue();
2898-
!StepVal || StepVal != 1)
2897+
auto StepVal = StepConst->getAPInt().trySExtValue();
2898+
if (!StepVal || StepVal != 1)
28992899
return nullptr;
29002900

29012901
V = M->getOperand(1);

0 commit comments

Comments
 (0)