Implement GlobalOpt/deadglobal-2.llx, deletion of globals that are only
authorChris Lattner <sabre@nondot.org>
Sun, 10 Oct 2004 16:47:33 +0000 (16:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Oct 2004 16:47:33 +0000 (16:47 +0000)
commitc4d81b0388dff9f38e1387bb223cc7b514c06d01
tree412e4166f23812eef912be34f73b170e1922fafe
parentba31f8098f339acd272b5de195f3f525c17dd8e6
Implement GlobalOpt/deadglobal-2.llx, deletion of globals that are only
stored to, but are stored at variable indexes.  This occurs at least in
176.gcc, but probably others, and we should handle it for completeness.

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