Make ValueIsOnlyUsedLocallyOrStoredToOneGlobal smart enough to see through
authorChris Lattner <sabre@nondot.org>
Thu, 13 Sep 2007 16:37:20 +0000 (16:37 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Sep 2007 16:37:20 +0000 (16:37 +0000)
commitc451f9c1670321256c22fc1a44a7cc62f7ad523b
tree693ef031409b472a9fff596a7c28460db72d2a51
parent816861803fe4f5e17f565f00e70989ab24d7ec45
Make ValueIsOnlyUsedLocallyOrStoredToOneGlobal smart enough to see through
bitcasts and phis.  This is a step to fixing PR1639.

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