forked from OSchip/llvm-project
The X86 backend no longer needs the select lowering pass.
llvm-svn: 12578
This commit is contained in:
parent
37a7f09d80
commit
a4b15f04c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue