<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unsupported ARM Neon intrinsics in Target-specific DAG combine function for VLDDUP"
   href="https://bugs.llvm.org/show_bug.cgi?id=38031">38031</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unsupported ARM Neon intrinsics in Target-specific DAG combine function for VLDDUP
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>compile-fail, crash-on-invalid
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>ikosarev@accesssoftek.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>diogo.sampaio@arm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, sjoerd.meijer@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20511" name="attach_20511" title="LLVM IR that generates crash-on-invalid">attachment 20511</a> <a href="attachment.cgi?id=20511&action=edit" title="LLVM IR that generates crash-on-invalid">[details]</a></span>
LLVM IR that generates crash-on-invalid

The new VLDDUP operations inserted in <a href="https://reviews.llvm.org/D48439">https://reviews.llvm.org/D48439</a>
are not handled in the target-specific DAG combine function.

ARMISelLowering.cpp::11443 - CombineBaseUpdate

How to reproduce:
llc -debug < problem-9bb6ba.ll

Combining: t637: ch = TokenFactor t635:3, t636:3

Combining: t636: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3lane<(load 24 from
%ir.32, align 2)> t634, TargetConstant:i32<1048>, FrameIndex:i32<32>, t635,
t635:1, t635:2, Constant:i32<0>, Constant:i32<2>

Combining: t635: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3dup<(load 24 from
%ir.33, align 2)> t634, TargetConstant:i32<1047>, FrameIndex:i32<33>,
Constant:i32<2>

unexpected intrinsic for Neon base update
UNREACHABLE executed at
/work/bf/LLVM/local/src/lib/Target/ARM/ARMISelLowering.cpp:11483!</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>