diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 10146c5a565..f6dd82228be 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -49,10 +49,6 @@ bool PowerPCTargetMachine::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()); @@ -82,10 +78,6 @@ void PowerPCJITInfo::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());