mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Give GlobalsModRef a whirl in the nightly testers.
I placed it just before GVN because that it is the pass most likely to benefit from it. Some quick and dirty testing confirms that this is a decent place for it. llvm-svn: 56144
This commit is contained in:
parent
94a4573005
commit
05a3e3ea40
@ -280,11 +280,13 @@ void AddStandardCompilePasses(PassManager &PM) {
|
||||
addPass(PM, createLoopUnswitchPass()); // Unswitch loops.
|
||||
addPass(PM, createLoopIndexSplitPass()); // Index split loops.
|
||||
// FIXME : Removing instcombine causes nestedloop regression.
|
||||
addPass(PM, createInstructionCombiningPass());
|
||||
addPass(PM, createInstructionCombiningPass());
|
||||
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
|
||||
addPass(PM, createLoopDeletionPass()); // Delete dead loops
|
||||
addPass(PM, createLoopUnrollPass()); // Unroll small loops
|
||||
addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
|
||||
addPass(PM, createGlobalsModRefPass()); // Alias analysis of globals
|
||||
addPass(PM, createMarkModRefPass()); // Mark functions readonly/readnone
|
||||
addPass(PM, createGVNPass()); // Remove redundancies
|
||||
addPass(PM, createMemCpyOptPass()); // Remove memcpy / form memset
|
||||
addPass(PM, createSCCPPass()); // Constant prop with SCCP
|
||||
|
Loading…
Reference in New Issue
Block a user