diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-ld/Optimize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ld/Optimize.cpp b/tools/llvm-ld/Optimize.cpp index a3f1986..0cbd29c 100644 --- a/tools/llvm-ld/Optimize.cpp +++ b/tools/llvm-ld/Optimize.cpp @@ -179,7 +179,7 @@ void Optimize(Module* M) { if (!DisableOptimizations) { addPass(Passes, createInstructionCombiningPass()); addPass(Passes, createCFGSimplificationPass()); - addPass(Passes, createDeadCodeEliminationPass()); + addPass(Passes, createAggressiveDCEPass()); addPass(Passes, createGlobalDCEPass()); } |