[llvm] r217742 - llvm/test/CodeGen/X86/vec_shuffle-38.ll: Add explicit -mtriple=x86_64-unknown to avoid incompatibility of win32.

Chandler Carruth chandlerc at google.com
Sun Sep 14 17:01:23 PDT 2014


Ah, its a stack vs. register issue. Thanks!

On Sun, Sep 14, 2014 at 5:00 PM, NAKAMURA Takumi <geek4civic at gmail.com>
wrote:

> For targeting Windows x64, (example for -mtriple=x86_64-mingw32),
> "<2 x double> %p" is passed by stack.
>
> ld:                                     # @ld
> # BB#0:
>         movddup (%rcx), %xmm0
>         retq
>
> 2014-09-15 8:54 GMT+09:00 Chandler Carruth <chandlerc at google.com>:
> >
> > On Sun, Sep 14, 2014 at 4:39 PM, NAKAMURA Takumi <geek4civic at gmail.com>
> > wrote:
> >>
> >> Author: chapuni
> >> Date: Sun Sep 14 18:39:01 2014
> >> New Revision: 217742
> >>
> >> URL: http://llvm.org/viewvc/llvm-project?rev=217742&view=rev
> >> Log:
> >> llvm/test/CodeGen/X86/vec_shuffle-38.ll: Add explicit
> >> -mtriple=x86_64-unknown to avoid incompatibility of win32.
> >
> >
> > What is the specific cause here? I'm a bit surprised that this was the
> > correct fix...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/32fda454/attachment.html>


More information about the llvm-commits mailing list