summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
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
commitc5f9b356af740b9969e43363ed9694486f073e35 (patch)
tree2d9778193f07c3e408101ecc6ecd9d1848defd77 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parente6e1b48023c6abb89d351f5cf95884b013d41b92 (diff)
downloadbcm5719-llvm-c5f9b356af740b9969e43363ed9694486f073e35.tar.gz
bcm5719-llvm-c5f9b356af740b9969e43363ed9694486f073e35.zip
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 llvm-svn: 14477
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 10146c5a565..f6dd82228be 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud