projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd30b47
)
Fix a warning
author
Nadav Rotem
<nrotem@apple.com>
Fri, 4 Jan 2013 21:08:44 +0000
(21:08 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Fri, 4 Jan 2013 21:08:44 +0000
(21:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171525
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 0f84fe05ef06c9ca2a09693e00fd25d05b9ece9c..4e508988e33b25db661f890303b3592172a2e3b8 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
lib/Transforms/Vectorize/LoopVectorize.cpp
@@
-2283,8
+2283,8
@@
LoopVectorizationCostModel::calculateRegisterUsage() {
// Remove all of the instructions that end at this location.
InstrList &List = TransposeEnds[i];
- for (unsigned int
i=0, e = List.size(); i < e; ++i
)
- OpenIntervals.erase(List[
i
]);
+ for (unsigned int
j=0, e = List.size(); j < e; ++j
)
+ OpenIntervals.erase(List[
j
]);
// Count the number of live interals.
MaxUsage = std::max(MaxUsage, OpenIntervals.size());