mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd30b47175
commit
608467d1e1
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user