[polly] r230140 - Remove leftover code

Johannes Doerfert doerfert at cs.uni-saarland.de
Sat Feb 21 08:18:28 PST 2015


Author: jdoerfert
Date: Sat Feb 21 10:18:28 2015
New Revision: 230140

URL: http://llvm.org/viewvc/llvm-project?rev=230140&view=rev
Log:
Remove leftover code

Modified:
    polly/trunk/lib/Analysis/ScopDetection.cpp

Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=230140&r1=230139&r2=230140&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Sat Feb 21 10:18:28 2015
@@ -412,7 +412,7 @@ bool ScopDetection::isInvariant(const Va
   // in the region aliases with the load.
   if (const LoadInst *LI = dyn_cast<LoadInst>(I)) {
     AliasAnalysis::Location Loc = AA->getLocation(LI);
-    const Region::const_block_iterator BE = Reg.block_end();
+
     // Check if any basic block in the region can modify the location pointed to
     // by 'Loc'.  If so, 'Val' is (likely) not invariant in the region.
     for (const BasicBlock *BB : Reg.blocks())





More information about the llvm-commits mailing list