Remove NumberHack entirely.

SubRegIndex instances are now numbered uniquely the same way Register instances
are - in lexicographical order by name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2010-05-25 19:49:33 +00:00
parent 39e2dd7bab
commit 4fda9670f0
8 changed files with 41 additions and 48 deletions

View File

@@ -21,13 +21,9 @@ include "llvm/Intrinsics.td"
class RegisterClass; // Forward def
// SubRegIndex - Use instances on SubRegIndex to identify subregisters.
// SubRegIndex - Use instances of SubRegIndex to identify subregisters.
class SubRegIndex {
string Namespace = "";
// This explicit numbering is going away after RegisterClass::SubRegClassList
// is replaced.
int NumberHack;
}
// Register - You should define one instance of this class for each register