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:
6ebf55d
)
Using a different loop induction variable than the enclosing scope. No functional...
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 25 Jul 2013 22:09:31 +0000
(22:09 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 25 Jul 2013 22:09:31 +0000
(22:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187159
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/RegisterInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/RegisterInfoEmitter.cpp
b/utils/TableGen/RegisterInfoEmitter.cpp
index 4d423e484f4c08c254ec2f96bfa2424e4a4d545c..731dccf75e879e52409210aa44a00bf46186c961 100644
(file)
--- a/
utils/TableGen/RegisterInfoEmitter.cpp
+++ b/
utils/TableGen/RegisterInfoEmitter.cpp
@@
-259,8
+259,8
@@
EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
PSets.push_back(RegBank.getRegPressureSet(*PSetI).Order);
}
std::sort(PSets.begin(), PSets.end());
- for (unsigned
i = 0, e = PSets.size(); i < e; ++i
) {
- OS << PSets[
i
] << ", ";
+ for (unsigned
j = 0, e = PSets.size(); j < e; ++j
) {
+ OS << PSets[
j
] << ", ";
++StartIdx;
}
OS << "-1, \t// #" << RCSetStarts[i] << " ";