<html>
    <head>
      <base href="http://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 --- - [ARM64] Can not select ARM64ISD::NOT of v1i64 type"
   href="http://llvm.org/bugs/show_bug.cgi?id=19367">19367</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ARM64] Can not select ARM64ISD::NOT of v1i64 type
          </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>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>Hao.Liu@arm.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>Test case:
----------------------------------------------------------------
#include "arm_neon.h"

uint64x1_t dotest_not_v1i64(uint64x1_t in0, uint64x1_t in1) {
  return vtst_u64(in0, vcge_u64(in0, in1));
}
----------------------------------------------------------------

The error information is as following:
$ clang --target=arm64-linux-gnu -O3 -S dotest_1.c
fatal error: error in backend: Cannot select: 0x74030f0: v1i64 = ARM64ISD::NOT
0x7402fe8 [ORD=4] [ID=8]
  0x7402fe8: v1i64 = ARM64ISD::CMEQz 0x74027a8 [ORD=4] [ID=6]
    0x74027a8: v1i64,ch = CopyFromReg 0x73c60c0, 0x74026a0 [ORD=1] [ID=4]
      0x74026a0: v1i64 = Register %vreg0 [ID=1]
In function: dotest_not_v1i64</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>