[LAA] Formatting fix in previous change

llvm-svn: 264244
This commit is contained in:
Adam Nemet 2016-03-24 05:15:24 +00:00
parent 279784ffc4
commit 59a6550425
1 changed files with 1 additions and 2 deletions

View File

@ -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");