1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[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 e20e31875b
commit 712f75230e

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