From 08bde1870aede8a3f9eeaf9171960a0fc73f1887 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 31 Mar 2004 22:03:46 +0000 Subject: [PATCH] The X86 backend no longer needs the select lowering pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12578 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86TargetMachine.cpp | 6 ------ 1 file changed, 6 deletions(-) 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