diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-02 18:19:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-02 18:19:05 +0000 |
commit | 590607b01cd9b587b819cc8fd4fb3f0e36202658 (patch) | |
tree | 4e051c5600f61044212c4c86608a0aa5adc6aba7 /tools/gccas | |
parent | 20af3222da5dea65246ecd9f64a53ea3e3cc1b8a (diff) | |
download | external_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.cpp | 1 |
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 |