projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't rely on implicit pointerness of 'auto'.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopIdiomRecognize.cpp
diff --git
a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index 9bc0153bf513738a4a3a391d2bd74d2ecc67d507..a4806c20efc08e4ba9c70168806b341fa9ad882f 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@
-639,7
+639,7
@@
bool LoopIdiomRecognize::runOnCountableLoop() {
bool MadeChange = false;
// Scan all the blocks in the loop that are not in subloops.
- for (auto BB : CurLoop->getBlocks()) {
+ for (auto
*
BB : CurLoop->getBlocks()) {
// Ignore blocks in subloops.
if (LI.getLoopFor(BB) != CurLoop)
continue;