diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-11 10:09:17 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2008-03-11 10:09:17 +0000 |
commit | 1fab4a6bbb6eb5d44d35c8aade2493143b44d288 (patch) | |
tree | d3213aafa049b1bd65de0edc9e7e4754eff9221e /lib/Target/X86/X86RegisterInfo.h | |
parent | 5b4153710e0b94b0af10d4838216ee112d4b37bc (diff) | |
download | external_llvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.zip external_llvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.tar.gz external_llvm-1fab4a6bbb6eb5d44d35c8aade2493143b44d288.tar.bz2 |
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.h')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h index 8b010a9..1c8f5e2 100644 --- a/lib/Target/X86/X86RegisterInfo.h +++ b/lib/Target/X86/X86RegisterInfo.h @@ -32,6 +32,15 @@ namespace N86 { }; } +namespace X86 { + /// SubregIndex - The index of various sized subregister classes. Note that + /// these indices must be kept in sync with the class indices in the + /// X86RegisterInfo.td file. + enum SubregIndex { + SUBREG_8BIT = 1, SUBREG_16BIT = 2, SUBREG_32BIT = 3 + }; +} + /// DWARFFlavour - Flavour of dwarf regnumbers /// namespace DWARFFlavour { |