[llvm-bugs] [Bug 49214] New: [NewPM] Failure to build SPEC17 (compiler hang)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 16 18:13:39 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49214

            Bug ID: 49214
           Summary: [NewPM] Failure to build SPEC17 (compiler hang)
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24544
  --> https://bugs.llvm.org/attachment.cgi?id=24544&action=edit
.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...?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210217/25f2f0d6/attachment.html>


More information about the llvm-bugs mailing list