commit | 9174d5c7383490d79b6a483d73cded54e32275d6 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Mon Jun 27 05:40:02 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Mon Jun 27 05:40:02 2011 +0000 |
tree | 5435c19cd62be16084387e6e354bd658a6757a5f | |
parent | 99e0b2a8df7e3a49c0e1edd250d17604fe2fb21c [diff] |
Teach one piece of scalarrepl to handle lifetime markers. When transforming an alloca that only holds a copy of a global and we're going to replace the users of the alloca with that global, just nuke the lifetime intrinsics. Part of PR10121. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133905 91177308-0d34-0410-b5e6-96231b3b80d8