Use ADCE instead of just DCE. ADCE will better clean up after jump threading,

for instance.

llvm-svn: 53045
This commit is contained in:
Owen Anderson 2008-07-02 18:42:07 +00:00
parent 488b89f608
commit abfd3a8162
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}