DeadStoreElimination can treat byval parameters as if there were alloca's for the...
authorOwen Anderson <resistor@mac.com>
Fri, 25 Jan 2008 10:10:33 +0000 (10:10 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 25 Jan 2008 10:10:33 +0000 (10:10 +0000)
commite3c36f67580f0963abdf696a26690facb0791ce0
tree46a0bf68c06c563faed90f7d64869c00a9ab98e4
parentbc2458408a68cc798ca1d54f8fdc2a7966165b41
DeadStoreElimination can treat byval parameters as if there were alloca's for the purpose of removing end-of-function stores.

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