mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Fix a warning
llvm-svn: 171525
This commit is contained in:
parent
b1c34fa73f
commit
3349017273
@ -2283,8 +2283,8 @@ LoopVectorizationCostModel::calculateRegisterUsage() {
|
|||||||
|
|
||||||
// Remove all of the instructions that end at this location.
|
// Remove all of the instructions that end at this location.
|
||||||
InstrList &List = TransposeEnds[i];
|
InstrList &List = TransposeEnds[i];
|
||||||
for (unsigned int i=0, e = List.size(); i < e; ++i)
|
for (unsigned int j=0, e = List.size(); j < e; ++j)
|
||||||
OpenIntervals.erase(List[i]);
|
OpenIntervals.erase(List[j]);
|
||||||
|
|
||||||
// Count the number of live interals.
|
// Count the number of live interals.
|
||||||
MaxUsage = std::max(MaxUsage, OpenIntervals.size());
|
MaxUsage = std::max(MaxUsage, OpenIntervals.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user