summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86RegisterInfo.td
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2008-03-11 10:09:17 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2008-03-11 10:09:17 +0000
commit1fab4a6bbb6eb5d44d35c8aade2493143b44d288 (patch)
treed3213aafa049b1bd65de0edc9e7e4754eff9221e /lib/Target/X86/X86RegisterInfo.td
parent5b4153710e0b94b0af10d4838216ee112d4b37bc (diff)
downloadllvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.tar.gz
llvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.tar.bz2
llvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.tar.xz
Recommitting parts of r48130. These do not appear to cause the observed failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.td')
-rw-r--r--lib/Target/X86/X86RegisterInfo.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.td b/lib/Target/X86/X86RegisterInfo.td
index 24402386c8..b713c892ba 100644
--- a/lib/Target/X86/X86RegisterInfo.td
+++ b/lib/Target/X86/X86RegisterInfo.td
@@ -176,6 +176,10 @@ let Namespace = "X86" in {
// sub registers for each register.
//
+def x86_subreg_8bit : PatLeaf<(i32 1)>;
+def x86_subreg_16bit : PatLeaf<(i32 2)>;
+def x86_subreg_32bit : PatLeaf<(i32 3)>;
+
def : SubRegSet<1, [AX, CX, DX, BX, SP, BP, SI, DI,
R8W, R9W, R10W, R11W, R12W, R13W, R14W, R15W],
[AL, CL, DL, BL, SPL, BPL, SIL, DIL,