1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add an instcombine pass before levelraise

llvm-svn: 5980
This commit is contained in:
Chris Lattner 2003-05-02 18:19:05 +00:00
parent f13fe891d1
commit 08b4007a7c

View 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