llvm.org GIT mirror llvm / ecbc963
Add MemCpyOpt to LTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50081 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 11 years ago
2 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
329329 Passes.add(createGlobalsModRefPass()); // IP alias analysis
330330
331331 Passes.add(createLICMPass()); // Hoist loop invariants
332 Passed.add(createMemCpyOptPass()); // Remove dead memcpy's
332333 Passes.add(createGVNPass()); // Remove common subexprs
333334 Passes.add(createDeadStoreEliminationPass()); // Nuke dead stores
334335
376376 passes.add(createGlobalsModRefPass()); // IP alias analysis
377377
378378 passes.add(createLICMPass()); // Hoist loop invariants
379 passes.add(createMemCpyOptPass()); // Remove dead memcpy's
379380 passes.add(createGVNPass()); // Remove common subexprs
380381 passes.add(createDeadStoreEliminationPass()); // Nuke dead stores
381382