Clean the sub-reg index composition maps at emission.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Sep 2012 16:34:05 +0000 (16:34 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Sep 2012 16:34:05 +0000 (16:34 +0000)
commitde0250728b1a9e69ca593168f1ea2ecef8e9bf95
treef85c402a59dd66e204a3472a720ed07c926d9d28
parent59f45e4610e64b88bcee4cd46816ef64e815ff7e
Clean the sub-reg index composition maps at emission.

Preserve the Composites map in the CodeGenSubRegIndex class so it can be
used to determine which sub-register indices can actually be composed.

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