[LLVMdev] Vector troubles

Daniel Berlin dberlin at dberlin.org
Fri Sep 28 17:49:52 PDT 2007


On 9/28/07, Anton Korobeynikov <asl at math.spbu.ru> wrote:
> Chuck,
>
> > It is dying trying to store a our working vector into one of the LLVM
> > vectors created on the stack.  Despite the align-16 directive on the
> > alloca instruction, it is not always aligning to a 16-byte boundary.
> The stack is not necessary 16 bytes aligned on linux/windows.

On recent versions of linux (anything in the past 2 years), the stack
will be aligned by gcc, the kernel, and glibc, in all the right
functions.

So unless you misalign it, ...



More information about the llvm-dev mailing list