diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-24 17:42:58 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-05-24 17:42:58 +0000 |
commit | fff916a96076e284edb043d7541cfc7902086039 (patch) | |
tree | 3f24e1e8cb77ba9ae7c0c297f3d4360dbf738812 /lib/Target/Mips/MipsRegisterInfo.td | |
parent | 59f7199e16cf6b66dc7219792f09081b13266ab6 (diff) | |
download | external_llvm-fff916a96076e284edb043d7541cfc7902086039.zip external_llvm-fff916a96076e284edb043d7541cfc7902086039.tar.gz external_llvm-fff916a96076e284edb043d7541cfc7902086039.tar.bz2 |
SubRegIndex'ize Mips
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsRegisterInfo.td')
-rw-r--r-- | lib/Target/Mips/MipsRegisterInfo.td | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsRegisterInfo.td b/lib/Target/Mips/MipsRegisterInfo.td index 00e7723..7957004 100644 --- a/lib/Target/Mips/MipsRegisterInfo.td +++ b/lib/Target/Mips/MipsRegisterInfo.td @@ -144,8 +144,10 @@ let Namespace = "Mips" in { // Subregister Set Definitions //===----------------------------------------------------------------------===// -def mips_subreg_fpeven : PatLeaf<(i32 1)>; -def mips_subreg_fpodd : PatLeaf<(i32 2)>; +let Namespace = "Mips" in { +def sub_fpeven : SubRegIndex { let NumberHack = 1; } +def sub_fpodd : SubRegIndex { let NumberHack = 2; } +} def : SubRegSet<1, [D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15], |