Teach the inliner to emit llvm.lifetime.start/end, to scope the local variables
commit6d55f2269e20298a1d6a683be72d9552482156a9
authorNick Lewycky <nicholas@mxc.ca>
Sun, 22 May 2011 05:22:10 +0000 (22 05:22 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 22 May 2011 05:22:10 +0000 (22 05:22 +0000)
tree120cf5335e916d8079373f6d62d6b00cd71f2fbc
parent9063b55f9b51850fa5f77abc699ab53ec639d9be
Teach the inliner to emit llvm.lifetime.start/end, to scope the local variables
of the inlinee to the code representing the original function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/lifetime.ll [new file with mode: 0644]