<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 - [X86] IR shufflevector instructions with undef values lowered to sub-optimal sequences"
   href="https://bugs.llvm.org/show_bug.cgi?id=34041">bug 34041</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>r354340,r356043,r356064,r356067
           </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 - [X86] IR shufflevector instructions with undef values lowered to sub-optimal sequences"
   href="https://bugs.llvm.org/show_bug.cgi?id=34041#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [X86] IR shufflevector instructions with undef values lowered to sub-optimal sequences"
   href="https://bugs.llvm.org/show_bug.cgi?id=34041">bug 34041</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>Resolving this, we now handle all the scalar/subvector broadcast cases raised
in this bug.

We currently prefer to use VBLENDPS etc. for constant blends where possible
over the AVX512 masks due to the cost of transferring from gpr to k-regs. If
that is a problem it should be raised as another bug.

This shows the above cases with non-constant masks showing the broadcasts are
still used:
<a href="https://godbolt.org/z/yKEKuW">https://godbolt.org/z/yKEKuW</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>