Run dead arg elimination, and tell it that it's ok to hack up non-internal functions

llvm-svn: 6896
This commit is contained in:
Chris Lattner 2003-06-25 04:13:36 +00:00
parent 2ab04f7a41
commit 0192b72fde
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ Module *BugDriver::performFinalCleanups() const {
CleanupPasses.add(createFunctionResolvingPass());
CleanupPasses.add(createGlobalDCEPass());
CleanupPasses.add(createDeadTypeEliminationPass());
CleanupPasses.add(createDeadArgEliminationPass(true));
CleanupPasses.add(createVerifierPass());
CleanupPasses.run(*M);
return M;