From: Chris Lattner Date: Wed, 22 May 2002 21:30:24 +0000 (+0000) Subject: Add the ADCE pass to gccas finally! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ff8207fc6cd433c6c4149c6f196e5ee6635cb819;p=oota-llvm.git Add the ADCE pass to gccas finally! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2719 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index d4c63092620..c2f5a1838e2 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; } -