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

Akira Hatanaka ahatanak at gmail.com
Wed Sep 24 17:21:15 PDT 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140924/b3e425a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86broadcast1.patch
Type: application/octet-stream
Size: 1498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140924/b3e425a1/attachment.obj>


More information about the llvm-commits mailing list