[patch] Optimize more linkonce_odr values during LTO

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Oct 17 12:45:09 PDT 2013


Hi Nick,

When a linkonce_odr value that is on the dso list is not unnamed_addr
we can still look to see if anything is actually using its address. If
not, it is safe to hide it.

This patch implements that by moving GlobalStatus to Transforms/Utils
and using it in Internalize.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 23060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131017/9ba4a730/attachment.obj>


More information about the llvm-commits mailing list