aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 194c8b5e6e..f1f003ba07 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -65,10 +65,6 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
// FIXME: Implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
- // FIXME: The code generator does not properly handle functions with
- // unreachable basic blocks.
- PM.add(createCFGSimplificationPass());
-
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());
@@ -126,10 +122,6 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// FIXME: Implement the invoke/unwind instructions!
PM.add(createLowerInvokePass());
- // FIXME: The code generator does not properly handle functions with
- // unreachable basic blocks.
- PM.add(createCFGSimplificationPass());
-
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());