]> granicus.if.org Git - llvm/commitdiff
Add an instcombine pass before levelraise
authorChris Lattner <sabre@nondot.org>
Fri, 2 May 2003 18:19:05 +0000 (18:19 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 May 2003 18:19:05 +0000 (18:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5980 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccas/gccas.cpp

index 273e071ad2a4d86102e60da6bf8b473c3d764cb3..1cefa371b6ce6c1dba779986be23b09b2533844c 100644 (file)
@@ -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