Make this pass substantially stronger by having it delete dead return values
authorChris Lattner <sabre@nondot.org>
Thu, 23 Oct 2003 03:48:17 +0000 (03:48 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 23 Oct 2003 03:48:17 +0000 (03:48 +0000)
commitc3afd9bf4bb06516b73645d6e0a73ae740433601
tree487883358d7f1654e63162ee4fd16d7a190cb444
parent3087550362a07d1884c187c85edb13ed36d5173e
Make this pass substantially stronger by having it delete dead return values
as well as arguments.  Now it can delete arguments and return values which are
only passed into other arguments or are returned, if they are dead.  This causes
it to delete several hundred extra args/retvals from the C++ hello world program,
shrinking it by about 2K.

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