[LLVMdev] Setting alignment for a ByVal argument

Arushi Aggarwal arushi987 at gmail.com
Tue Apr 27 22:11:13 PDT 2010


I could not get the same .bc file work with llvm 2.7 on x86_64 either.
This is the address I got for a byval argument meant to be aligned to
64byte boundary.

0x7fff3f0ae030

Any more pointers?

Arushi

PS: Is the IR representation in 2.7 any different, that I should not
use the same bitcode file.



On Tue, Apr 27, 2010 at 3:22 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Arushi,
>
>> Thanks for the help. I tried this out, but on x86_64 and with llvm 2.6
>> and llvm-gcc 4.2.1, I dont seem to get an aligned variable.
>
> does it work with llvm-2.7 (just released)?
>
> Ciao,
>
> Duncan.
>



More information about the llvm-dev mailing list