run a late dce pass to clean up extra cruft.

llvm-svn: 35684
This commit is contained in:
Chris Lattner 2007-04-05 16:50:20 +00:00
parent 506d8db8a4
commit c7de6e0a75
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ void Optimize(Module* M) {
if (!DisableOptimizations) {
addPass(Passes, createInstructionCombiningPass());
addPass(Passes, createCFGSimplificationPass());
addPass(Passes, createDeadCodeEliminationPass());
addPass(Passes, createGlobalDCEPass());
}