Even if an unnamed_addr function being merged has external linkage, it should be still alright to make it an alias instead of a thunk, as an optimization.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D50884
[MergeFunctions] Merge global unnamed_addr functions as aliases Needs ReviewPublic Authored by hermord on Aug 16 2018, 11:45 PM.
Revision Contents
Diff 161169 lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/merge-unnamed-addr-global.ll
|