<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] Failure to lower VSELECT on pre-SSE41 targets"
   href="https://bugs.llvm.org/show_bug.cgi?id=38658">bug 38658</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;">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 - [X86] Failure to lower VSELECT on pre-SSE41 targets"
   href="https://bugs.llvm.org/show_bug.cgi?id=38658#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [X86] Failure to lower VSELECT on pre-SSE41 targets"
   href="https://bugs.llvm.org/show_bug.cgi?id=38658">bug 38658</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>(In reply to Craig Topper from <a href="show_bug.cgi?id=38658#c3">comment #3</a>)
<span class="quote">> I'm guessing LegalizeVectorOps was the one calling LowerShift. But
> LegalizeVectorOps, unlike LegalizeDAG, doesn't know how to legalize nodes
> created by Custom handlers. So the vselect stuck around after
> LegalizeVectorOps. And LegalizeDAG doesn't know what to do with vselect.</span >

Yup that looks like what was happening, cheers. I've added the test case at
rL340393.</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>