[llvm-bugs] [Bug 49185] New: opt -O3 crashes with Assertion `NewL->getParentLoop() == ParentL && "All of the new loops must be siblings of the current loop!"' failed. with new PM

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 15 01:04:46 PST 2021


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

            Bug ID: 49185
           Summary: opt -O3 crashes with Assertion `NewL->getParentLoop()
                    == ParentL && "All of the new loops must be siblings
                    of the current loop!"' failed. with new PM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24526
  --> https://bugs.llvm.org/attachment.cgi?id=24526&action=edit
bbi-52864.ll reproducer

Reproduce with:
 opt -unswitch-threshold=100 -O3 -S -o - bbi-52864.ll

Result:
 opt: ../include/llvm/Transforms/Scalar/LoopPassManager.h:311: void
llvm::LPMUpdater::addSiblingLoops(ArrayRef<llvm::Loop *>): Assertion
`NewL->getParentLoop() == ParentL && "All of the new loops must be siblings of
the current loop!"' failed.

It doesn't crash with -enable-new-pm=0

-- 
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/20210215/bf93906e/attachment.html>


More information about the llvm-bugs mailing list