[LLVMdev] GHC, aliases, and LLVM HEAD

Reid Kleckner rnk at google.com
Tue Jun 3 16:41:49 PDT 2014


On Tue, Jun 3, 2014 at 1:29 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> > It looks fairly likely llvm will accept arbitrary expressions as
> > aliasees again (see thread on llvmdev), but the restrictions inherent
> > from what alias are at the object level will remain, just be reworded
> > a bit. For example, we will have something along the lines of "the
> > aliasee expression cannot contain an undefined GlobalValue".
>
> And this is in: r210062.
>
> Let us know how it looks from GHC's point of view.


I think we might be able to relax our restrictions against aliases
referring to declarations if the alias is private.  If the alias is
private, then the label never appears in the object file.  The alias is
merely a Constant with an internal name.  What do you think?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140603/d0db363c/attachment.html>


More information about the llvm-dev mailing list