<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mikael.holmen@ericsson.com" title="Mikael Holmén <mikael.holmen@ericsson.com>"> <span class="fn">Mikael Holmén</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - opt -O3 crashes with Assertion `NewL->getParentLoop() == ParentL && "All of the new loops must be siblings of the current loop!"' failed. with new PM"
   href="https://bugs.llvm.org/show_bug.cgi?id=49185">bug 49185</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 - opt -O3 crashes with Assertion `NewL->getParentLoop() == ParentL && "All of the new loops must be siblings of the current loop!"' failed. with new PM"
   href="https://bugs.llvm.org/show_bug.cgi?id=49185#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - opt -O3 crashes with Assertion `NewL->getParentLoop() == ParentL && "All of the new loops must be siblings of the current loop!"' failed. with new PM"
   href="https://bugs.llvm.org/show_bug.cgi?id=49185">bug 49185</a>
              from <span class="vcard"><a class="email" href="mailto:mikael.holmen@ericsson.com" title="Mikael Holmén <mikael.holmen@ericsson.com>"> <span class="fn">Mikael Holmén</span></a>
</span></b>
        <pre>(In reply to Arthur Eubanks from <a href="show_bug.cgi?id=49185#c5">comment #5</a>)
<span class="quote">> There's no way to get a list of passes for -O3 under the new PM.
> </span >

Almost every time I debug an opt problem I start with "opt -O<N> <something
more>" and I want to reach an "opt <singlepass>" reproducer to get an as small
and stable reproducer as possible that isolates the real problem. Normally I
use -debug-pass=Arguments along with reducing the input program, and in most
cases I end up with what I want.

How do we achieve this with the new PM then? I'm sure people already working
with the new PM want to do the same thing, so how do you do?

I already sent an email to llvm-dev with this question but unfortunately got
zero replies so far:
<a href="https://lists.llvm.org/pipermail/llvm-dev/2021-February/148551.html">https://lists.llvm.org/pipermail/llvm-dev/2021-February/148551.html</a>

<span class="quote">> I can't repro the crash locally at head. Perhaps it's fixed? Or maybe I'm
> not specifying the right backend target since it's not specified in the .ll
> file.</span >

Yes it was fixed in f70cdc5b5c.</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>