summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-10 22:55:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-10 22:55:35 +0000
commiteef4420578b93f4024275096908719fc458b4a03 (patch)
treeb4a5081b24f9663420ca3d5884d1d17d58c90ed3 /llvm/tools/llvm-ld
parentdea2bde08fd62c7de11b52827defa30bae7ba2a6 (diff)
downloadbcm5719-llvm-eef4420578b93f4024275096908719fc458b4a03.tar.gz
bcm5719-llvm-eef4420578b93f4024275096908719fc458b4a03.zip
Remove this pass as its no longer needed.
llvm-svn: 18783
Diffstat (limited to 'llvm/tools/llvm-ld')
-rw-r--r--llvm/tools/llvm-ld/Optimize.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/tools/llvm-ld/Optimize.cpp b/llvm/tools/llvm-ld/Optimize.cpp
index 5dc9424be90..c676809f771 100644
--- a/llvm/tools/llvm-ld/Optimize.cpp
+++ b/llvm/tools/llvm-ld/Optimize.cpp
@@ -163,9 +163,6 @@ void Optimize(Module* M) {
// Cleanup and simplify the code after the scalar optimizations.
addPass(Passes, createInstructionCombiningPass());
- // Delete basic blocks, which optimization passes may have killed...
- addPass(Passes, createCFGSimplificationPass());
-
// Now that we have optimized the program, discard unreachable functions...
addPass(Passes, createGlobalDCEPass());
}
OpenPOWER on IntegriCloud