diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-22 21:30:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-22 21:30:24 +0000 |
commit | ff8207fc6cd433c6c4149c6f196e5ee6635cb819 (patch) | |
tree | 111b266b3d5c556f2e838b54d48ace1ea924addb /tools/gccas/gccas.cpp | |
parent | 277f651ce87ada73cd5a11f413cd37af57f0cf05 (diff) |
Add the ADCE pass to gccas finally!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index d4c6309262..c2f5a1838e 100644 --- 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; } - |