Treat lifetime begin/end markers as allocations/frees respectively for the
authorOwen Anderson <resistor@mac.com>
Wed, 28 Oct 2009 07:05:35 +0000 (07:05 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 28 Oct 2009 07:05:35 +0000 (07:05 +0000)
commitb62f792e78df12a43029352eb4c7cde9d456c67e
treee2b4de6c1ad567c76b6038fe67a424b787a509f1
parent40cc524edee857eab238338200d2cc80f840f52f
Treat lifetime begin/end markers as allocations/frees respectively for the
purposes for GVN/DSE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85383 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/DeadStoreElimination.cpp
lib/Transforms/Scalar/GVN.cpp
test/Transforms/DeadStoreElimination/lifetime-simple.ll [new file with mode: 0644]
test/Transforms/GVN/lifetime-simple.ll [new file with mode: 0644]