[LLVMdev] Annotating known pointer alignment

Duncan Sands baldrick at free.fr
Mon Oct 29 07:13:21 PDT 2012

Hi Clemens,

>>>>   and instcombine adds the explicit alignment according to
>>>>> the langref (pref alignment).
>>>> Without an explicit alignment means the ABI alignment in the case of
>>>> loads/stores.
>>> Yes, that second step was clear. Assuming you meant the "preferential
>>> alignment", according to the langref.
>> no, I meant the ABI alignment.  If the LangRef says the preferential
>> alignment
>> then I'm pretty sure the LangRef is wrong!
> Yep, the InstCombiner in fact uses the ABI alignment, so propably you are right
> and the LangRef is wrong.

I've corrected the LangRef.

Ciao, Duncan.

More information about the llvm-dev mailing list