Rename createSimpleX86RegisterAllocator to createSimpleRegisterAllocator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5071 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index f2db74e..a917d3c 100644
--- a/lib/Target/X86/X86.h
+++ b/lib/Target/X86/X86.h
@@ -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
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index b3c84fb..d710eb4 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -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());