summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-29 07:17:12 +0000
committerChris Lattner <sabre@nondot.org>2004-06-29 07:17:12 +0000
commite6e1b48023c6abb89d351f5cf95884b013d41b92 (patch)
treefac75e0da67e37466f735a751a093f9ee8a94b04 /llvm/lib/Target/X86/X86TargetMachine.cpp
parent4cda555346079c39860781628b57f10a56ecabe5 (diff)
downloadbcm5719-llvm-e6e1b48023c6abb89d351f5cf95884b013d41b92.tar.gz
bcm5719-llvm-e6e1b48023c6abb89d351f5cf95884b013d41b92.zip
I believe that the code generator now properly handles dead basic blocks. If not,
this is a bug, and should be fixed. llvm-svn: 14476
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 194c8b5e6ed..f1f003ba074 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud