summaryrefslogtreecommitdiffstats
path: root/tools/gccas
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-02 18:19:05 +0000
committerChris Lattner <sabre@nondot.org>2003-05-02 18:19:05 +0000
commit590607b01cd9b587b819cc8fd4fb3f0e36202658 (patch)
tree4e051c5600f61044212c4c86608a0aa5adc6aba7 /tools/gccas
parent20af3222da5dea65246ecd9f64a53ea3e3cc1b8a (diff)
downloadexternal_llvm-590607b01cd9b587b819cc8fd4fb3f0e36202658.zip
external_llvm-590607b01cd9b587b819cc8fd4fb3f0e36202658.tar.gz
external_llvm-590607b01cd9b587b819cc8fd4fb3f0e36202658.tar.bz2
Add an instcombine pass before levelraise
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas')
-rw-r--r--tools/gccas/gccas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp
index 273e071..1cefa37 100644
--- a/tools/gccas/gccas.cpp
+++ b/tools/gccas/gccas.cpp
@@ -70,6 +70,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
addPass(PM, createVerifierPass()); // Verify that input is correct
addPass(PM, createDeadInstEliminationPass()); // Remove Dead code/vars
addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst
+ addPass(PM, createInstructionCombiningPass()); // Cleanup code for raise
addPass(PM, createIndVarSimplifyPass()); // Simplify indvars
addPass(PM, createRaisePointerReferencesPass());// Recover type information
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's