From 36d6f4a3030b66d347b3ba8ab3aeee9caf55284f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Dec 2002 15:55:51 +0000 Subject: [PATCH] Add info about register aliases, add prototype for createLocalRegisterAllocator llvm-svn: 5075 --- llvm/lib/Target/X86/X86.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h index a917d3c45a58..099e930a7241 100644 --- a/llvm/lib/Target/X86/X86.h +++ b/llvm/lib/Target/X86/X86.h @@ -25,6 +25,7 @@ Pass *createSimpleX86InstructionSelector(TargetMachine &TM); /// every register. Wow, great policy huh? /// Pass *createSimpleRegisterAllocator(TargetMachine &TM); +Pass *createLocalRegisterAllocator(TargetMachine &TM); /// createX86CodePrinterPass - Print out the specified machine code function to /// the specified stream. This function should work regardless of whether or @@ -46,7 +47,7 @@ namespace X86 { // mapping from register name to register number. // enum Register { -#define R(ENUM, NAME, FLAGS, TSFLAGS) ENUM, +#define R(ENUM, NAME, FLAGS, TSFLAGS, A1, A2, A3) ENUM, #include "X86RegisterInfo.def" };