Rename function to be more consistent with filename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7352 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 9137f6b..a3aa458 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -45,7 +45,7 @@
bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
std::ostream &Out) {
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
PM.add(createLocalRegisterAllocator());
PM.add(createX86FloatingPointStackifierPass());
PM.add(createPrologEpilogCodeInserter());
@@ -62,7 +62,7 @@
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
// TODO: optional optimizations go here