<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [AArch64, NEON] UNREACHABLE executed at LegalizeIntegerTypes.cpp:51, "Do not know how to promote this operator!""
   href="https://llvm.org/bugs/show_bug.cgi?id=22886">22886</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AArch64, NEON] UNREACHABLE executed at LegalizeIntegerTypes.cpp:51, "Do not know how to promote this operator!"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vladimir.sukharev@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14037" name="attach_14037" title="test_case">attachment 14037</a> <a href="attachment.cgi?id=14037&action=edit" title="test_case">[details]</a></span>
test_case

With top of tree and the attached, I'm seeing the following crash:

$ llc arm64-vmul-internalerror.ll -march=arm64
PromoteIntegerResult #0: 0x5582ee0: i16 = llvm.aarch64.neon.sqadd 0x5582660,
0x5582ff0, 0x5582880 [ORD=5] [ID=0]

Do not know how to promote this operator!
UNREACHABLE executed at
/work/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:51!
...
Stack dump:
0.    Program arguments: llc arm64-vmul-internalerror.ll -march=arm64 
1.    Running pass 'Function Pass Manager' on module
'arm64-vmul-internalerror.ll'.
2.    Running pass 'AArch64 Instruction Selection' on function
'@test_sqdmlahq_extracted_lane_s16'</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>