[llvm-commits] [llvm] r151758 - /llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Jim Grosbach
grosbach at apple.com
Wed Feb 29 13:46:32 PST 2012
Author: grosbach
Date: Wed Feb 29 15:46:32 2012
New Revision: 151758
URL: http://llvm.org/viewvc/llvm-project?rev=151758&view=rev
Log:
Tidy up. Spelling.
Modified:
llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
Modified: llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp?rev=151758&r1=151757&r2=151758&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/RegisterInfoEmitter.cpp Wed Feb 29 15:46:32 2012
@@ -706,7 +706,7 @@
// Calculate the mapping of subregister+index pairs to physical registers.
- // This will also create further anonymous indexes.
+ // This will also create further anonymous indices.
unsigned NamedIndices = RegBank.getNumNamedIndices();
// Emit SubRegIndex names, skipping 0
@@ -720,7 +720,7 @@
}
OS << "\" };\n\n";
- // Emit names of the anonymus subreg indexes.
+ // Emit names of the anonymous subreg indices.
if (SubRegIndices.size() > NamedIndices) {
OS << " enum {";
for (unsigned i = NamedIndices, e = SubRegIndices.size(); i != e; ++i) {
More information about the llvm-commits
mailing list