Update this code to use eraseFromParent where possible. Compute
authorChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 19:20:39 +0000 (19:20 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 11 Jan 2008 19:20:39 +0000 (19:20 +0000)
commit40c14be5bc9ba900f01c408b65aca57e053788e1
treef6e01325684964ca6f4c3ec62abb9e1ec9d59ba1
parentf1577014ddd13113c4a06d85bc75cd7b2dce71a9
Update this code to use eraseFromParent where possible.  Compute
whether an argument is byval and pass into isSafeToPromoteArgument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45876 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp