projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b2a14b
)
Run dead arg elimination, and tell it that it's ok to hack up non-internal functions
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jun 2003 04:13:36 +0000
(
04:13
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jun 2003 04:13:36 +0000
(
04:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6896
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ExtractFunction.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ExtractFunction.cpp
b/tools/bugpoint/ExtractFunction.cpp
index 725ba599bd9b36a789159e6e381257e48076229e..1aefcefad4bc253cefca274ce83470f85b3da059 100644
(file)
--- 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;