llvm.org GIT mirror llvm / d2368dc
Move MemCpyOpt after GVN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50097 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 11 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
168168 addPass(Passes, createGlobalsModRefPass()); // IP alias analysis
169169
170170 addPass(Passes, createLICMPass()); // Hoist loop invariants
171 addPass(Passes, createGVNPass()); // Remove redundancies
171172 addPass(Passes, createMemCpyOptPass()); // Remove dead memcpy's
172 addPass(Passes, createGVNPass()); // Remove redundancies
173173 addPass(Passes, createDeadStoreEliminationPass()); // Nuke dead stores
174174
175175 // Cleanup and simplify the code after the scalar optimizations.
329329 Passes.add(createGlobalsModRefPass()); // IP alias analysis
330330
331331 Passes.add(createLICMPass()); // Hoist loop invariants
332 Passes.add(createGVNPass()); // Remove common subexprs
332333 Passed.add(createMemCpyOptPass()); // Remove dead memcpy's
333 Passes.add(createGVNPass()); // Remove common subexprs
334334 Passes.add(createDeadStoreEliminationPass()); // Nuke dead stores
335335
336336 // Cleanup and simplify the code after the scalar optimizations.
376376 passes.add(createGlobalsModRefPass()); // IP alias analysis
377377
378378 passes.add(createLICMPass()); // Hoist loop invariants
379 passes.add(createGVNPass()); // Remove common subexprs
379380 passes.add(createMemCpyOptPass()); // Remove dead memcpy's
380 passes.add(createGVNPass()); // Remove common subexprs
381381 passes.add(createDeadStoreEliminationPass()); // Nuke dead stores
382382
383383 // Cleanup and simplify the code after the scalar optimizations.