<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [AVX-512] Missed opportunity to perform k-operations before copying to GPR"
   href="https://bugs.llvm.org/show_bug.cgi?id=32546">bug 32546</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;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>r371329
           </td>
         </tr>

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

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>llvm-dev@redking.me.uk
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [AVX-512] Missed opportunity to perform k-operations before copying to GPR"
   href="https://bugs.llvm.org/show_bug.cgi?id=32546#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [AVX-512] Missed opportunity to perform k-operations before copying to GPR"
   href="https://bugs.llvm.org/show_bug.cgi?id=32546">bug 32546</a>
              from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
        <pre>This looks like its fixed in trunk, I've added a test case at rL371329

llc -mattr=+avx512f

vcmpltps %zmm3, %zmm2, %k1
vcmpltps %zmm1, %zmm0, %k0 {%k1}
kmovw %k0, %eax
movzbl %al, %eax
vmovd %eax, %xmm0
vpbroadcastd %xmm0, %ymm0
retq

llc -mattr=+avx512dq,+avx512vl

vcmpltps %ymm3, %ymm2, %k1
vcmpltps %ymm1, %ymm0, %k0 {%k1}
kmovb %k0, %eax
vpbroadcastd %eax, %ymm0
retq</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>