mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 08:07:51 +00:00
emit an ID # for each regclass ID. Chris doesn't like to have to count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
183275a627
commit
ca796402be
@ -77,7 +77,7 @@ void RegisterInfoEmitter::runHeader(std::ostream &OS) {
|
||||
for (unsigned i = 0, e = RegisterClasses.size(); i != e; ++i) {
|
||||
if (i) OS << ",\n";
|
||||
OS << " " << RegisterClasses[i].getName() << "RegClassID";
|
||||
if (!i) OS << " = 1";
|
||||
OS << " = " << (i+1);
|
||||
}
|
||||
OS << "\n };\n\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user