Skip to content

Commit

Permalink
[LAA] Formatting fix in previous change
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264244 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
anemet committed Mar 24, 2016
1 parent 7cacf39 commit 8b742a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Analysis/LoopAccessAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ void RuntimePointerChecking::insert(Loop *Lp, Value *Ptr, bool WritePtr,
const SCEV *ScStart;
const SCEV *ScEnd;

if (SE->isLoopInvariant(Sc, Lp)) {
if (SE->isLoopInvariant(Sc, Lp))
ScStart = ScEnd = Sc;
}
else {
const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc);
assert(AR && "Invalid addrec expression");
Expand Down

0 comments on commit 8b742a0

Please sign in to comment.