diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-10 22:55:35 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-10 22:55:35 +0000 |
| commit | eef4420578b93f4024275096908719fc458b4a03 (patch) | |
| tree | b4a5081b24f9663420ca3d5884d1d17d58c90ed3 /llvm/tools/llvm-ld | |
| parent | dea2bde08fd62c7de11b52827defa30bae7ba2a6 (diff) | |
| download | bcm5719-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.cpp | 3 |
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()); } |

