[LLVMdev] Alignment attribute of function arguments

Sergei Larin slarin at codeaurora.org
Fri May 17 08:55:35 PDT 2013

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



Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

More information about the llvm-dev mailing list