[patch] Special case aliases in GlobalValue::getAlignment
Rafael EspĂndola
rafael.espindola at gmail.com
Tue May 6 08:12:04 PDT 2014
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 --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 2671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/154611c9/attachment.obj>
More information about the llvm-commits
mailing list