[llvm-commits] CVS: llvm/lib/Target/X86/X86.h X86TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Dec 16 08:39:01 PST 2002


Changes in directory llvm/lib/Target/X86:

X86.h updated: 1.7 -> 1.8
X86TargetMachine.cpp updated: 1.5 -> 1.6

---
Log message:

Rename createSimpleX86RegisterAllocator to createSimpleRegisterAllocator


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86.h
diff -u llvm/lib/Target/X86/X86.h:1.7 llvm/lib/Target/X86/X86.h:1.8
--- llvm/lib/Target/X86/X86.h:1.7	Mon Dec  2 23:42:53 2002
+++ llvm/lib/Target/X86/X86.h	Mon Dec 16 08:38:13 2002
@@ -20,11 +20,11 @@
 ///
 Pass *createSimpleX86InstructionSelector(TargetMachine &TM);
 
-/// X86SimpleRegisterAllocation - This function converts the specified machine
-/// code function from SSA form to use explicit registers by spilling every
-/// register.  Wow, great policy huh?
+/// createSimpleRegisterAllocation - This function converts the specified
+/// machine code function from SSA form to use explicit registers by spilling
+/// every register.  Wow, great policy huh?
 ///
-Pass *createSimpleX86RegisterAllocator(TargetMachine &TM);
+Pass *createSimpleRegisterAllocator(TargetMachine &TM);
 
 /// createX86CodePrinterPass - Print out the specified machine code function to
 /// the specified stream.  This function should work regardless of whether or


Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.5 llvm/lib/Target/X86/X86TargetMachine.cpp:1.6
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.5	Fri Dec 13 07:16:14 2002
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Mon Dec 16 08:38:13 2002
@@ -43,7 +43,7 @@
   DEBUG(PM.add(createMachineFunctionPrinterPass()));
 
   // Perform register allocation to convert to a concrete x86 representation
-  PM.add(createSimpleX86RegisterAllocator(*this));
+  PM.add(createSimpleRegisterAllocator(*this));
 
   // Print the instruction selected machine code...
   // PM.add(createMachineFunctionPrinterPass());





More information about the llvm-commits mailing list