Remove leftover code

llvm-svn: 230140
This commit is contained in:
Johannes Doerfert 2015-02-21 16:18:28 +00:00
parent 75ed9746e6
commit ca08c44a46
1 changed files with 1 additions and 1 deletions

View File

@ -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<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())