forked from OSchip/llvm-project
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:
parent
2ab04f7a41
commit
0192b72fde
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue