Delete unused global aliases with internal linkage.
authorDuncan Sands <baldrick@free.fr>
Mon, 5 Jan 2009 20:37:33 +0000 (20:37 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 5 Jan 2009 20:37:33 +0000 (20:37 +0000)
commit1da5f2dd2ec1b1eea67a25928668f7ea2bd67b96
tree0f09595bd5b28e582afa7db3777c20be44e42e3b
parentf42153366176779c79b4351c467712041a8af5f9
Delete unused global aliases with internal linkage.
In fact this also deletes those with linkonce linkage,
however this is currently dead because for the moment
aliases aren't allowed to have this linkage type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61742 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalDCE.cpp
test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll [new file with mode: 0644]