diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gccas/gccas.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index c2f7a8c542..1a0067e296 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -83,6 +83,10 @@ int main(int argc, char **argv) { Passes.add(createLICMPass()); // Hoist loop invariants Passes.add(createGCSEPass()); // Remove common subexprs Passes.add(createSCCPPass()); // Constant prop with SCCP + + // Run instcombine after redundancy elimination to exploit opportunities + // opened up by them. + Passes.add(createInstructionCombiningPass()); Passes.add(createDeadCodeEliminationPass()); // Remove Dead code/vars } Passes.add(new WriteBytecodePass(&Out)); // Write bytecode to file... |