diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-26 23:39:50 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-26 23:39:50 +0000 |
commit | 2ca6b3c37498eebf1f729f85cee03aa38ea5bc65 (patch) | |
tree | 21ffef363888499283ecfbe2dd2b2eba2d8e8d3a /include/llvm/Target/Target.td | |
parent | 480eeb54315e35b9d18213c2d56d2166e154b62d (diff) | |
download | llvm-2ca6b3c37498eebf1f729f85cee03aa38ea5bc65.tar.gz llvm-2ca6b3c37498eebf1f729f85cee03aa38ea5bc65.tar.bz2 llvm-2ca6b3c37498eebf1f729f85cee03aa38ea5bc65.tar.xz |
Remove support for 'CompositeIndices' and sub-register cycles.
Now that the weird X86 sub_ss and sub_sd sub-register indexes are gone,
there is no longer a need for the CompositeIndices construct in .td
files. Sub-register index composition can be specified on the
SubRegIndex itself using the ComposedOf field.
Also enforce unique names for sub-registers in TableGen. The same
sub-register cannot be available with multiple sub-register indexes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/Target.td')
-rw-r--r-- | include/llvm/Target/Target.td | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td index 03adccebd9..24be2b1041 100644 --- a/include/llvm/Target/Target.td +++ b/include/llvm/Target/Target.td @@ -64,18 +64,6 @@ class Register<string n, list<string> altNames = []> { // register. list<RegAltNameIndex> RegAltNameIndices = []; - // CompositeIndices - Specify subreg indices that don't correspond directly to - // a register in SubRegs and are not inherited. The following formats are - // supported: - // - // (a) Identity - Reg:a == Reg - // (a b) Alias - Reg:a == Reg:b - // (a b,c) Composite - Reg:a == (Reg:b):c - // - // This can be used to disambiguate a sub-sub-register that exists in more - // than one subregister and other weird stuff. - list<dag> CompositeIndices = []; - // DwarfNumbers - Numbers used internally by gcc/gdb to identify the register. // These values can be determined by locating the <target>.h file in the // directory llvmgcc/gcc/config/<target>/ and looking for REGISTER_NAMES. The @@ -252,9 +240,6 @@ class RegisterTuples<list<SubRegIndex> Indices, list<dag> Regs> { // SubRegIndices - N SubRegIndex instances. This provides the names of the // sub-registers in the synthesized super-registers. list<SubRegIndex> SubRegIndices = Indices; - - // Compose sub-register indices like in a normal Register. - list<dag> CompositeIndices = []; } |