diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-22 07:33:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-22 07:33:49 +0000 |
commit | a2a51607a6601d42c5f559858f77ef1cad86efe1 (patch) | |
tree | 76a17d585976dcbfd1cad143ed09734c4a23b59f /tools | |
parent | bd28e3f8ef5be0ceb7d5fa395cd89362a78508b8 (diff) | |
download | external_llvm-a2a51607a6601d42c5f559858f77ef1cad86efe1.zip external_llvm-a2a51607a6601d42c5f559858f77ef1cad86efe1.tar.gz external_llvm-a2a51607a6601d42c5f559858f77ef1cad86efe1.tar.bz2 |
Turn on loop unswitching tonight
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-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 2791cf4..2a45779 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -109,6 +109,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createReassociatePass()); // Reassociate expressions addPass(PM, createLICMPass()); // Hoist loop invariants + addPass(PM, createLoopUnswitchPass()); // Unswitch loops. addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars addPass(PM, createLoopUnrollPass()); // Unroll small loops |