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:
277f651
)
Add the ADCE pass to gccas finally!
author
Chris Lattner
<sabre@nondot.org>
Wed, 22 May 2002 21:30:24 +0000
(21:30 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 22 May 2002 21:30:24 +0000
(21:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2719
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/gccas/gccas.cpp
patch
|
blob
|
history
diff --git
a/tools/gccas/gccas.cpp
b/tools/gccas/gccas.cpp
index d4c63092620d843cd3ae67fcef01efc478c6ad4d..c2f5a1838e2f4d1a634067a3fa027f99562ecd7b 100644
(file)
--- a/
tools/gccas/gccas.cpp
+++ b/
tools/gccas/gccas.cpp
@@
-88,6
+88,7
@@
int main(int argc, char **argv) {
// opened up by them.
Passes.add(createInstructionCombiningPass());
Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars
+ Passes.add(createAggressiveDCEPass()); // SSA based 'Agressive DCE'
Passes.add(createCFGSimplificationPass()); // Merge & remove BBs
}
Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file...
@@
-96,4
+97,3
@@
int main(int argc, char **argv) {
Passes.run(M.get());
return 0;
}
-