Do not let dead constant expressions hanging off of functions prevent IPCP.
authorChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 20:47:30 +0000 (20:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Nov 2004 20:47:30 +0000 (20:47 +0000)
commitc890bfe1da56e3740d633559f3ea9bd33ee6d2f7
treea45f851f86833362bc90aaf72b8328b106ef1609
parent8ee9da05ed8d6b6538c1453adaf6f3f1f1366806
Do not let dead constant expressions hanging off of functions prevent IPCP.
This allows to elimination of a bunch of global pool descriptor args from
programs being pool allocated (and is also generally useful!)

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