aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/ExtractFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--tools/bugpoint/ExtractFunction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp
index 725ba59..1aefcef 100644
--- a/tools/bugpoint/ExtractFunction.cpp
+++ b/tools/bugpoint/ExtractFunction.cpp
@@ -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;