[llvm-dev] crash with vector store

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 7 19:07:24 PDT 2015


On 7 October 2015 at 18:44, carr27 via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Can anyone give me a pointer as to what might be going on?

I assume you recreated the store in the second example? It looks like
you forgot to copy across the alignment annotation "align 1" from the
old one.

Without that the x86 backend assumes that since the type is a 128-bit
vector, it's allowed to assume the address is aligned and produces a
"movaps" instruction, which aborts since the address isn't actually
aligned.]

Cheers.

Tim.


More information about the llvm-dev mailing list