summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccas
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-30 19:24:06 +0000
committerChris Lattner <sabre@nondot.org>2003-05-30 19:24:06 +0000
commitfdb2f4b7cd429d2aeba83efe19caec033ff0c3d4 (patch)
tree5b74e5086ca3a8d6dde8d3e4031e92e1763d9deb /llvm/tools/gccas
parent49fac8001022d9cd0e47a52bbe8cc02d34763c82 (diff)
downloadbcm5719-llvm-fdb2f4b7cd429d2aeba83efe19caec033ff0c3d4.tar.gz
bcm5719-llvm-fdb2f4b7cd429d2aeba83efe19caec033ff0c3d4.zip
Add SRoA pass to gccas
llvm-svn: 6442
Diffstat (limited to 'llvm/tools/gccas')
-rw-r--r--llvm/tools/gccas/gccas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index 9d9ab6ac673..ae42b718971 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/tools/gccas/gccas.cpp
@@ -73,6 +73,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
addPass(PM, createInstructionCombiningPass()); // Cleanup code for raise
addPass(PM, createRaisePointerReferencesPass());// Recover type information
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
+ addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas
addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs
addPass(PM, createIndVarSimplifyPass()); // Simplify indvars
addPass(PM, createReassociatePass()); // Reassociate expressions
OpenPOWER on IntegriCloud