From ff0a6e6aac13f15cb80c54c16e4c906b3e303b9b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 21 Aug 2004 20:14:13 +0000 Subject: [PATCH] Switch from bytes to bits for alignment for consistency git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15974 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86RegisterInfo.td | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/lib/Target/X86/X86RegisterInfo.td b/lib/Target/X86/X86RegisterInfo.td index a685ad72937..aac496de0c7 100644 --- a/lib/Target/X86/X86RegisterInfo.td +++ b/lib/Target/X86/X86RegisterInfo.td @@ -76,8 +76,8 @@ def : RegisterAliases; def : RegisterAliases; // top-level register classes. The order specified in the register list is // implicitly defined to be the register allocation order. // -def R8 : RegisterClass; -def R16 : RegisterClass { +def R8 : RegisterClass; +def R16 : RegisterClass { let Methods = [{ iterator allocation_order_end(MachineFunction &MF) const { if (hasFP(MF)) // Does the function dedicate EBP to being a frame ptr? @@ -88,7 +88,7 @@ def R16 : RegisterClass { }]; } -def R32 : RegisterClass { +def R32 : RegisterClass { let Methods = [{ iterator allocation_order_end(MachineFunction &MF) const { if (hasFP(MF)) // Does the function dedicate EBP to being a frame ptr? @@ -99,12 +99,7 @@ def R32 : RegisterClass { }]; } -def RFP : RegisterClass; +def RFP : RegisterClass; // Floating point stack registers. -def RST : RegisterClass; - - -// Registers which cannot be allocated. -//def : RegisterClass; - +def RST : RegisterClass; -- 2.34.1