diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-08 22:18:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-08 22:18:20 +0000 |
commit | 94fbab002217fb4ac711190437d728a38d0d02c8 (patch) | |
tree | 82edb4db2006cedbec72117d09ca3fb04994df46 /tools/gccas/gccas.cpp | |
parent | 557a143b8276ef8e07f2e873d7a2988106474e9a (diff) | |
download | external_llvm-94fbab002217fb4ac711190437d728a38d0d02c8.zip external_llvm-94fbab002217fb4ac711190437d728a38d0d02c8.tar.gz external_llvm-94fbab002217fb4ac711190437d728a38d0d02c8.tar.bz2 |
Run expression reassociation as part of gccas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 59c1271..cd4ccd2 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -77,6 +77,7 @@ int main(int argc, char **argv) { if (!StopAtLevelRaise) { Passes.add(createRaisePointerReferencesPass()); // Eliminate casts Passes.add(createPromoteMemoryToRegister()); // Promote alloca's to regs + Passes.add(createReassociatePass()); // Reassociate expressions Passes.add(createInstructionCombiningPass()); // Combine silly seq's Passes.add(createDeadInstEliminationPass()); // Kill InstCombine remnants Passes.add(createGCSEPass()); // Remove common subexprs |