diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index dcd265ef80f..31c5e578ea1 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -67,9 +67,6 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM, // FIXME: Implement the switch instruction in the instruction selector! PM.add(createLowerSwitchPass()); - // FIXME: Add support for the select instruction natively. - PM.add(createLowerSelectPass(true)); - if (NoPatternISel) PM.add(createX86SimpleInstructionSelector(*this)); else @@ -127,9 +124,6 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { // FIXME: Implement the switch instruction in the instruction selector! PM.add(createLowerSwitchPass()); - // FIXME: Add support for the select instruction natively. - PM.add(createLowerSelectPass(true)); - if (NoPatternISel) PM.add(createX86SimpleInstructionSelector(TM)); else