[llvm] r264244 - [LAA] Formatting fix in previous change
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 22:15:24 PDT 2016
Author: anemet
Date: Thu Mar 24 00:15:24 2016
New Revision: 264244
URL: http://llvm.org/viewvc/llvm-project?rev=264244&view=rev
Log:
[LAA] Formatting fix in previous change
Modified:
llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp?rev=264244&r1=264243&r2=264244&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopAccessAnalysis.cpp Thu Mar 24 00:15:24 2016
@@ -135,9 +135,8 @@ void RuntimePointerChecking::insert(Loop
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");
More information about the llvm-commits
mailing list