[PATCH] x86 avx: add isel pattern for (v2f64 (X86VBroadcast f64:$src))

Chandler Carruth chandlerc at google.com
Wed Sep 24 17:28:36 PDT 2014


LGTM.

On Wed, Sep 24, 2014 at 5:21 PM, Akira Hatanaka <ahatanak at gmail.com> wrote:

> The attached patch adds a pattern for X86Broadcast. This is the error
> message I'm currently seeing when I compile the test case:
>
>
> LLVM ERROR: Cannot select: 0x7fda11827200: v2f64 = X86ISD::VBROADCAST
> 0x7fda12024918 [ORD=2] [ID=14]
>
>   0x7fda12024918: f64,ch = load 0x7fda1150bcd0, 0x7fda12024600,
> 0x7fda12025050<LD8[ConstantPool]> [ORD=2] [ID=12]
>
>     0x7fda12024600: i64 = X86ISD::WrapperRIP 0x7fda12024c30 [ID=10]
>
>       0x7fda12024c30: i64 = TargetConstantPool<double -1.000000e+00> 0
> [ID=8]
>
>     0x7fda12025050: i64 = undef [ID=2]
>
> This fixes PR21050.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140924/a5c3f08b/attachment.html>


More information about the llvm-commits mailing list