[llvm] r257915 - Don't try to check all uses if lazy loading.

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 11:06:09 PST 2016


Should this and r257920 be merged to 3.8?

On Fri, Jan 15, 2016 at 10:23 AM, Rafael Espindola via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: rafael
> Date: Fri Jan 15 12:23:46 2016
> New Revision: 257915
>
> URL: http://llvm.org/viewvc/llvm-project?rev=257915&view=rev
> Log:
> Don't try to check all uses if lazy loading.
>
> This means that LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN will not be set
> in a few cases.
>
> This should have no impact in ld64 since it doesn't use lazy loading
> when merging modules and that is when it checks
> LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN.
>
> Added:
>     llvm/trunk/test/LTO/X86/pr25919.ll
> Modified:
>     llvm/trunk/lib/CodeGen/Analysis.cpp


More information about the llvm-commits mailing list