<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:listmail@philipreames.com" title="listmail@philipreames.com">listmail@philipreames.com</a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - ptest not used for pointer comparison (but is for integer)"
   href="https://bugs.llvm.org/show_bug.cgi?id=35129">bug 35129</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - ptest not used for pointer comparison (but is for integer)"
   href="https://bugs.llvm.org/show_bug.cgi?id=35129#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - ptest not used for pointer comparison (but is for integer)"
   href="https://bugs.llvm.org/show_bug.cgi?id=35129">bug 35129</a>
              from <span class="vcard"><a class="email" href="mailto:listmail@philipreames.com" title="listmail@philipreames.com">listmail@philipreames.com</a>
</span></b>
        <pre>Simon, I just tried to test this on most recent LLC, and still see code
differences between the original examples posted.  These are both examples of
not(anyof) patterns, the only difference between them is the use of pointer vs
integer comparisons.  We really should be producing the same code for these two
examples.

test_opt:
        vpxor   %xmm1, %xmm1, %xmm1
        vpcmpeqq        %xmm1, %xmm0, %xmm1
        vmovmskpd       %xmm1, %eax
        testb   %al, %al
        je      .LBB0_2

test_sidestep:
        vptest  %xmm0, %xmm0
        je      .LBB1_2</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>