The X86 backend no longer needs the select lowering pass.
authorChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2004 22:03:46 +0000 (22:03 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2004 22:03:46 +0000 (22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12578 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetMachine.cpp

index dcd265ef80f865417905c43cea964c2ed681ac6e..31c5e578ea1d755b9b3a6215fc94908ae099a472 100644 (file)
@@ -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