[LoopDataPrefetch] Fix unused variable in release build

llvm-svn: 276491
This commit is contained in:
Adam Nemet 2016-07-22 23:08:10 +00:00
parent fb4358d15b
commit eea7c267b9
1 changed files with 1 additions and 2 deletions

View File

@ -214,10 +214,9 @@ bool LoopDataPrefetch::runOnLoop(Loop *L) {
if (ItersAhead > getMaxPrefetchIterationsAhead())
return MadeChange;
Function *F = L->getHeader()->getParent();
DEBUG(dbgs() << "Prefetching " << ItersAhead
<< " iterations ahead (loop size: " << LoopSize << ") in "
<< F->getName() << ": " << *L);
<< L->getHeader()->getParent()->getName() << ": " << *L);
SmallVector<std::pair<Instruction *, const SCEVAddRecExpr *>, 16> PrefLoads;
for (Loop::block_iterator I = L->block_begin(), IE = L->block_end();