mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-23 14:30:50 +00:00
[LoopDataPrefetch] Fix unused variable in release build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5781107c29
commit
3f4fdc9fbf
@ -214,10 +214,9 @@ bool LoopDataPrefetch::runOnLoop(Loop *L) {
|
|||||||
if (ItersAhead > getMaxPrefetchIterationsAhead())
|
if (ItersAhead > getMaxPrefetchIterationsAhead())
|
||||||
return MadeChange;
|
return MadeChange;
|
||||||
|
|
||||||
Function *F = L->getHeader()->getParent();
|
|
||||||
DEBUG(dbgs() << "Prefetching " << ItersAhead
|
DEBUG(dbgs() << "Prefetching " << ItersAhead
|
||||||
<< " iterations ahead (loop size: " << LoopSize << ") in "
|
<< " iterations ahead (loop size: " << LoopSize << ") in "
|
||||||
<< F->getName() << ": " << *L);
|
<< L->getHeader()->getParent()->getName() << ": " << *L);
|
||||||
|
|
||||||
SmallVector<std::pair<Instruction *, const SCEVAddRecExpr *>, 16> PrefLoads;
|
SmallVector<std::pair<Instruction *, const SCEVAddRecExpr *>, 16> PrefLoads;
|
||||||
for (Loop::block_iterator I = L->block_begin(), IE = L->block_end();
|
for (Loop::block_iterator I = L->block_begin(), IE = L->block_end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user