summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/gccas/gccas.cpp2
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;
}
-