From: Johannes Doerfert Date: Sat, 21 Feb 2015 16:18:28 +0000 (+0000) Subject: Remove leftover code X-Git-Tag: llvmorg-3.7.0-rc1~11232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca08c44a46a7f055534790a0c0691e11ad100faa;p=platform%2Fupstream%2Fllvm.git Remove leftover code llvm-svn: 230140 --- diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 954dd95..2f5ea9d 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -412,7 +412,7 @@ bool ScopDetection::isInvariant(const Value &Val, const Region &Reg) const { // in the region aliases with the load. if (const LoadInst *LI = dyn_cast(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())