aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 05:26:22 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 05:26:22 +0000
commit75ebab89ffd2efc2e99e2585615d0253d87eaa6c (patch)
tree983915933f62b82c60fdf2f76106b9e60964ebf5
parentd452ebd0bfcba6ba017390c392b81c080e362f28 (diff)
downloadexternal_llvm-75ebab89ffd2efc2e99e2585615d0253d87eaa6c.zip
external_llvm-75ebab89ffd2efc2e99e2585615d0253d87eaa6c.tar.gz
external_llvm-75ebab89ffd2efc2e99e2585615d0253d87eaa6c.tar.bz2
Now that the TCE pass passes all of the tests, add it to GCCAS
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8621 91177308-0d34-0410-b5e6-96231b3b80d8
-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 27ae11c..0f22480 100644
--- a/tools/gccas/gccas.cpp
+++ b/tools/gccas/gccas.cpp
@@ -57,9 +57,9 @@ 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, createCFGSimplificationPass()); // Merge & remove BBs