<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - combineInsertEltToShuffle - ASSERT: idx < size()"
   href="https://bugs.llvm.org/show_bug.cgi?id=44139">bug 44139</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;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>214683f3b2d6
           </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 - combineInsertEltToShuffle - ASSERT: idx < size()"
   href="https://bugs.llvm.org/show_bug.cgi?id=44139#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - combineInsertEltToShuffle - ASSERT: idx < size()"
   href="https://bugs.llvm.org/show_bug.cgi?id=44139">bug 44139</a>
              from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
        <pre>(In reply to Simon Pilgrim from <a href="show_bug.cgi?id=44139#c2">comment #2</a>)
<span class="quote">> I'm guessing DAGCombine is missing out of bounds insert/extractelement
> handling compared to instsimplify:

> Opt codegen: <a href="https://gcc.godbolt.org/z/uDSBW8">https://gcc.godbolt.org/z/uDSBW8</a></span >

Yep - I thought I might've created the loophole that allowed the crash, but it
exists independently of:
<a href="https://reviews.llvm.org/rG85a2146c1559">https://reviews.llvm.org/rG85a2146c1559</a>

Always surprised at the order that we can perform combines vs. creating
nodes...
so I might've introduced a different bug by deleting a clause from DAGCombiner
in that patch.

Will try to keep an eye on fuzzer mail.

Should be fixed with:
<a href="https://reviews.llvm.org/rG214683f3b2d6">https://reviews.llvm.org/rG214683f3b2d6</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>