diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-16 14:38:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-16 14:38:13 +0000 |
commit | 1a45626c4c9cef2a8faafd58119d5648d85db8ac (patch) | |
tree | ee3ece1200fd43a3e15e41ffafb37f5616c61da5 | |
parent | 1d62cea90baad4bf98dbab94a158ae69523a0cf3 (diff) |
Rename createSimpleX86RegisterAllocator to createSimpleRegisterAllocator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5071 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86.h | 8 | ||||
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h index f2db74eed0..a917d3c45a 100644 --- a/lib/Target/X86/X86.h +++ b/lib/Target/X86/X86.h @@ -20,11 +20,11 @@ class Pass; /// 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 b3c84fb821..d710eb473d 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -43,7 +43,7 @@ bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) { 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()); |