<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:max.kazantsev@azul.com" title="Max Kazantsev <max.kazantsev@azul.com>"> <span class="fn">Max Kazantsev</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [LoopLoadElim] Assertion `L->getLoopPreheader() && "Can't expand add recurrences without a loop preheader!"' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=48150">bug 48150</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 - [LoopLoadElim] Assertion `L->getLoopPreheader() && "Can't expand add recurrences without a loop preheader!"' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=48150#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [LoopLoadElim] Assertion `L->getLoopPreheader() && "Can't expand add recurrences without a loop preheader!"' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=48150">bug 48150</a>
              from <span class="vcard"><a class="email" href="mailto:max.kazantsev@azul.com" title="Max Kazantsev <max.kazantsev@azul.com>"> <span class="fn">Max Kazantsev</span></a>
</span></b>
        <pre>Fix merged.

commit 664e1da485d244325947d056a271c3c733ad4c7c
Author: Max Kazantsev <<a href="mailto:mkazantsev@azul.com">mkazantsev@azul.com</a>>
Date:   Thu Nov 26 10:49:44 2020 +0700

    [LoopLoadElim] Make sure all loops are in simplify form. PR48150

    LoopLoadElim may end up expanding an AddRec from a loop
    which is not the current loop. This loop may not be in simplify
    form. We figure it out after the no-return point, so cannot bail
    in this case.

    AddRec requires simplify form to expand. The only way to ensure
    this does not crash is to simplify all loops beforehand.

    The issue only exists in new PM. Old PM requests LoopSimplify
    required pass and it simplifies all loops before the opt begins.

    Differential Revision: <a href="https://reviews.llvm.org/D91525">https://reviews.llvm.org/D91525</a>
    Reviewed By: asbirlea, aeubanks</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>