[PATCH] CodeGen: Emit constant array temporaries into read-only globals.

David Majnemer david.majnemer at gmail.com
Tue Mar 3 11:38:13 PST 2015


On Tue, Mar 3, 2015 at 11:36 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> >> I don't follow, if the function is internal, ComdatGV will be the
> >> function and have internal linkage, no?
> >
> >
> > The function will be internal but why would the ComdatGV be the
> function? I
> > don't see how the function would be in a COMDAT in that case.
>
> Oh, the case you have in mind is when the function itself is not in a
> COMDAT?
>

Yes, this is what I was getting at.


>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150303/04048e7c/attachment.html>


More information about the cfe-commits mailing list