Teach TableGen to automatically generate missing SubRegIndex instances.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 7 May 2011 21:22:39 +0000 (21:22 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 7 May 2011 21:22:39 +0000 (21:22 +0000)
commit123cab9480812e51f6d4cb118fe685691130f625
treed421c0e0c90c67a0f6293bf5f3948c7ca8ac1701
parentaec038fa8418d21755e22ff749969bddd4428da9
Teach TableGen to automatically generate missing SubRegIndex instances.

The RegisterInfo.td file should only specify the indexes that sources need to
refer to. The rest is inferred.

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