[patch] Special case aliases in GlobalValue::getAlignment

Anton Korobeynikov anton at korobeynikov.info
Wed May 7 01:07:08 PDT 2014


+1

On Tue, May 6, 2014 at 8:47 PM, Reid Kleckner <rnk at google.com> wrote:
> lgtm
>
>
> 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
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-commits mailing list