[llvm-dev] crash with vector store
Scott A. Carr via llvm-dev
llvm-dev at lists.llvm.org
Thu Oct 8 10:11:23 PDT 2015
> 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.
That was exactly the problem. Thanks for your help.
-Scott
> On Oct 7, 2015, at 10:07 PM, Tim Northover <t.p.northover at gmail.com> wrote:
>
> 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