<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] opportunity for better code with masked stores"
   href="https://bugs.llvm.org/show_bug.cgi?id=11210">bug 11210</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>craig.topper@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>3170d5484265,e2dee9af8db6
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>Scalar Optimizations
           </td>
           <td>Backend: X86
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [AVX] opportunity for better code with masked stores"
   href="https://bugs.llvm.org/show_bug.cgi?id=11210#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [AVX] opportunity for better code with masked stores"
   href="https://bugs.llvm.org/show_bug.cgi?id=11210">bug 11210</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>Tentatively resolving this - test cases were added at rGe2dee9af8db6 to show
@kparzysz's DSE fixes in action.

I played with auto upgrading the intrinsics but the non-optimized codegen was
really awful - I can revisit it if people think its worth it.

Instead, I've just extended the instcombine handling at rG3170d5484265 - where
before we just folded constant masks to generic masked loads/stores, we now do
it for any sign-extended bool vector. This already worked nicely for
BLENDV->SELECT combines (which have a similar sign-bit selection mask
mechanism) so should be fine for masked loads/stores as well.</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>