[LLVMdev] Annotating known pointer alignment
baldrick at free.fr
Mon Oct 29 07:13:21 PDT 2012
>>>> and instcombine adds the explicit alignment according to
>>>>> the langref (pref alignment).
>>>> Without an explicit alignment means the ABI alignment in the case of
>>> 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
>> 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.
More information about the llvm-dev