[LLVMdev] Alignment attribute of function arguments

Duncan Sands baldrick at free.fr
Sat May 18 02:27:40 PDT 2013


Hi Sergei,

On 17/05/13 17:55, Sergei Larin wrote:
>
> Hello everyone,
>
>    Hopefully a simple question. How can I access function argument alignment
> information? If my code has something like this:
>
> void foo(short * __restrict    __attribute__ ((aligned(8))) InputData){}
>
> ...as I deal with argument (InputData) can I get the alignment info set for
> it?

are you trying to do this in clang?  If so, you should write to the clang list.

Ciao, Duncan.

>
> Thanks!
>
> Sergei
>
>
>
> ---
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
> The Linux Foundation
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list