diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-11 17:50:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-11 17:50:32 +0000 |
commit | ca6cc6f277390d91c1f24833ea9a6ba89ac09f3d (patch) | |
tree | 51151f1b65b804762c25d34726183c516e3ec18e /tools | |
parent | c54735e7cbd639a612837d93bf75d73507dd7d47 (diff) | |
download | external_llvm-ca6cc6f277390d91c1f24833ea9a6ba89ac09f3d.zip external_llvm-ca6cc6f277390d91c1f24833ea9a6ba89ac09f3d.tar.gz external_llvm-ca6cc6f277390d91c1f24833ea9a6ba89ac09f3d.tar.bz2 |
Run tailcall elimination in a more logical place
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index c7a2204..40abcca 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -74,11 +74,11 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createTailDuplicationPass()); // Simplify cfg by copying code addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas - addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createReassociatePass()); // Reassociate expressions addPass(PM, createInstructionCombiningPass()); // Combine silly seq's + addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createLICMPass()); // Hoist loop invariants addPass(PM, createLoadValueNumberingPass()); // GVN for load instructions |