From 1a45626c4c9cef2a8faafd58119d5648d85db8ac Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Dec 2002 14:38:13 +0000 Subject: [PATCH] Rename createSimpleX86RegisterAllocator to createSimpleRegisterAllocator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5071 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86.h | 8 ++++---- 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 f2db74eed05..a917d3c45a5 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 b3c84fb821a..d710eb473d3 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());