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 | 357cf5439a5e0ad49245dc75798b6490d67834fd (patch) | |
tree | fe357c66b84b983d10da815332b1f0c86901de30 | |
parent | c59e09ec54eabb824b7f5e9db32bbd5035691fdb (diff) | |
download | external_llvm-357cf5439a5e0ad49245dc75798b6490d67834fd.zip external_llvm-357cf5439a5e0ad49245dc75798b6490d67834fd.tar.gz external_llvm-357cf5439a5e0ad49245dc75798b6490d67834fd.tar.bz2 |
Remove this pass as its no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18783 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvm-ld/Optimize.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/llvm-ld/Optimize.cpp b/tools/llvm-ld/Optimize.cpp index 5dc9424..c676809 100644 --- a/tools/llvm-ld/Optimize.cpp +++ b/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()); } |