summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-29 07:20:16 +0000
committerChris Lattner <sabre@nondot.org>2004-06-29 07:20:16 +0000
commit1b17438aa8bfba56ed98e6a40db48c5df40de623 (patch)
treeb98f9eb410aaf4bbf6d3d3da90cc4f0f23d2fd7e /lib
parent23a53aa9c4317a728cd185e8e803d7c7d9da5456 (diff)
downloadllvm-1b17438aa8bfba56ed98e6a40db48c5df40de623.tar.gz
llvm-1b17438aa8bfba56ed98e6a40db48c5df40de623.tar.bz2
llvm-1b17438aa8bfba56ed98e6a40db48c5df40de623.tar.xz
The code generator should work with unreachable blocks. If not, then this
is a bug that should be fixed in the code generator, not papered over with the simplifycfg pass. Eliminating this makes bugpoint much more useful git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 10146c5a56..f6dd82228b 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());