commit | d8a0f8ec36fc468595e16fb1a28555faacf03201 | [log] [tgz] |
---|---|---|
author | Vedant Kumar <vsk@apple.com> | Fri Jan 11 17:56:35 2019 +0000 |
committer | Vedant Kumar <vsk@apple.com> | Fri Jan 11 17:56:35 2019 +0000 |
tree | 0d6024ba9a280031a5d9d139203dd5dd13168eea | |
parent | d559263f4a6ee78224ddca3014a75cdf9dcb4afe [diff] |
[MergeFunc] Erase unused duplicate functions if they are discardable MergeFunc only deletes unused duplicate functions if they have local linkage, but it should be safe to relax this to any "discardable if unused" linkage type. Differential Revision: https://reviews.llvm.org/D56574 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350939 91177308-0d34-0410-b5e6-96231b3b80d8