[patch] Special case aliases in GlobalValue::getAlignment

Reid Kleckner rnk at google.com
Tue May 6 09:47:31 PDT 2014


On Tue, May 6, 2014 at 8:12 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> An alias has the address of what it points to, so it also has the same
> alignment.
> This allows a few optimizations to see past aliases for free.
> I intend to do the same for sections, I just have to check if there is
> some interesting testcase.
> Cheers,
> Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/a57fd346/attachment.html>

More information about the llvm-commits mailing list