Ignore NumberHack and give each SubRegIndex instance a unique enum value instead.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 25 May 2010 17:21:04 +0000 (17:21 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 25 May 2010 17:21:04 +0000 (17:21 +0000)
commit48d0c163fb60f7da7ef3657df242bf11dbdb0617
tree359d7fa330d379d973b2d6cd207109d374d6af12
parentc159fba712292f9a3de4f6841dbd6a3f3cefb2d2
Ignore NumberHack and give each SubRegIndex instance a unique enum value instead.

This passes lit tests, but I'll give it a go through the buildbots to smoke out
any remaining places that depend on the old SubRegIndex numbering.

Then I'll remove NumberHack entirely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104615 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
utils/TableGen/CodeGenTarget.h
utils/TableGen/RegisterInfoEmitter.cpp