forked from OSchip/llvm-project
TableGen: Use enum names in composeSubRegIndices table
I'm not sure why this is using the raw enum value. This makes reading the generated table comprehensible.
This commit is contained in:
parent
56a503bdba
commit
525169efd1
|
@ -742,7 +742,7 @@ RegisterInfoEmitter::emitComposeSubRegIndices(raw_ostream &OS,
|
|||
OS << " { ";
|
||||
for (unsigned i = 0, e = SubRegIndicesSize; i != e; ++i)
|
||||
if (Rows[r][i])
|
||||
OS << Rows[r][i]->EnumValue << ", ";
|
||||
OS << Rows[r][i]->getQualifiedName() << ", ";
|
||||
else
|
||||
OS << "0, ";
|
||||
OS << "},\n";
|
||||
|
|
Loading…
Reference in New Issue