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 | aa7c2105de86c58e388ed4b221a860d667d7719e (patch) | |
| tree | f6451080f6b551f48881d01f47615f02ba138e3b /llvm/lib/Target/X86/X86RegisterInfo.h | |
| parent | a731239c30c76bd1e774b5a462b45db590303d24 (diff) | |
| download | bcm5719-llvm-aa7c2105de86c58e388ed4b221a860d667d7719e.tar.gz bcm5719-llvm-aa7c2105de86c58e388ed4b221a860d667d7719e.zip | |
Recommitting parts of r48130. These do not appear to cause the observed failures.
llvm-svn: 48223
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86RegisterInfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.h b/llvm/lib/Target/X86/X86RegisterInfo.h index 8b010a92404..1c8f5e28b99 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.h +++ b/llvm/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 { |

