[llvm-bugs] [Bug 27157] New: opt -O3 crashes with debug-only=loop-unroll

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 31 02:53:50 PDT 2016


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

            Bug ID: 27157
           Summary: opt -O3 crashes with debug-only=loop-unroll
           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,
                    michael.v.zolotukhin at gmail.com
    Classification: Unclassified

Created attachment 16139
  --> https://llvm.org/bugs/attachment.cgi?id=16139&action=edit
opt input

For the supplied test case, the LoopUnroll pass crashes in DT->verifyDomTree()
if debug output is enabled. This causes the verifyDomTree() function to be
called.


  if (DT && !CompletelyUnroll)
    DT->recalculate(*L->getHeader()->getParent());
  else
    DEBUG(DT->verifyDomTree());        <<<<<<<<<<<<<<<<<<


bin/opt ./reg-stack.bc -O3 -mtriple=s390x-linux-gnu -mcpu=z13
-debug-only=loop-unroll

-- 
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/20160331/dfe2b29c/attachment.html>


More information about the llvm-bugs mailing list