OSDN Git Service

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)
commitbd1b450d673b80c73bc90a1dcaef53edf9f5d0e9
tree0f09595bd5b28e582afa7db3777c20be44e42e3b
parent30c0137caf449dbe78a539c4cb204713bbceef01
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]