<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [NewPM] Failure to build SPEC17 (compiler hang)"
   href="https://bugs.llvm.org/show_bug.cgi?id=49214">49214</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[NewPM] Failure to build SPEC17 (compiler hang)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paulsson@linux.vnet.ibm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24544" name="attach_24544" title=".bc file (compressed tar file)">attachment 24544</a> <a href="attachment.cgi?id=24544&action=edit" title=".bc file (compressed tar file)">[details]</a></span>
.bc file (compressed tar file)

This file takes 10s with legacy-pass-manager, but does not terminate with new
PM:

clang-13 -cc1 -triple s390x-ibm-linux -S -save-temps=cwd -disable-free
-main-file-name rna_nodetree_gen.c -mrelocation-model static
-mframe-pointer=none -fmath-errno -fno-rounding-math -mconstructor-aliases
-target-cpu z14 -fno-split-dwarf-inlining -debugger-tuning=gdb -v -O3 -std=c99
-ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -fcolor-diagnostics
-vectorize-loops -vectorize-slp -faddrsig -o rna_nodetree_gen.s -x ir
rna_nodetree_gen.bc -fdebug-pass-manager &> out

There seems to be a set of loop passes running over and over on the same loop:

     43 Running pass: SimpleLoopUnswitchPass on Loop at depth 1 containing:
%for.body<header><latch><exiting>
     48 Running pass: LICMPass on Loop at depth 1 containing:
%for.body<header><latch><exiting>
    249 Running pass: IndVarSimplifyPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopDeletionPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopFullUnrollPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopIdiomRecognizePass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopInstSimplifyPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopRotatePass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: LoopSimplifyCFGPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    249 Running pass: SimpleLoopUnswitchPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>
    498 Running pass: LICMPass on Loop at depth 1 containing:
%land.rhs.i<header><exiting>,%while.body.i<latch><exiting>

498 times of LICMPass on same loop - 249 times for the others...?</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>