projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4358d
)
[LoopDataPrefetch] Fix unused variable in release build
author
Adam Nemet
<anemet@apple.com>
Fri, 22 Jul 2016 23:08:10 +0000
(23:08 +0000)
committer
Adam Nemet
<anemet@apple.com>
Fri, 22 Jul 2016 23:08:10 +0000
(23:08 +0000)
llvm-svn: 276491
llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
b/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
index
fb14b97
..
0b0e794
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
+++ b/
llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp
@@
-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();