commit | 3a884f5c17ac32e34e7e62b4602a0d73eeda1ce8 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Mon May 14 20:35:04 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Mon May 14 20:35:04 2012 +0000 |
tree | 43d6a1b9b7b981588849d32a247a5e903ea97dad | |
parent | 5262abb2682a4d09cda3563a55f27caffb57466c [diff] |
Move the capture analysis from MemoryDependencyAnalysis to a more general place so that it can be reused in MemCpyOptimizer. This analysis is needed to remove an unnecessary memcpy when returning a struct into a local variable. rdar://11341081 PR12686 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156776 91177308-0d34-0410-b5e6-96231b3b80d8