<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 - aarch64 vpminq_s16 fails to select"
   href="https://bugs.llvm.org/show_bug.cgi?id=37094">37094</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>aarch64 vpminq_s16 fails to select
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>gonzalobg88@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This (<a href="https://godbolt.org/g/EibFPf">https://godbolt.org/g/EibFPf</a>)

declare <8 x i16> @llvm.aarch64.neon.sminp.v8i16(<8 x i16>, <8 x i16>);
define <8 x i16> @vpminq_s16(<8 x i16> %a) {
    %b = call <8 x i16> @llvm.aarch64.neon.sminp.v8i16(<8 x i16> %a, <8 x i16>
%a)
    ret <8 x i16> %b
}

fails to select: 

LLVM ERROR: Cannot select: intrinsic %llvm.aarch64.neon.sminp

---

I am trying to use from LLVM-IR the vpminq_s16 intrinsic which is an AArch64
intrinsic that maps to SMINP Vd.16B,Vn.16B,Vm.16B

See:
<a href="https://developer.arm.com/docs/dui0801/latest/a64-simd-vector-instructions/sminp-vector">https://developer.arm.com/docs/dui0801/latest/a64-simd-vector-instructions/sminp-vector</a></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>