[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 27157] New: opt -O3 crashes with debug-only=loop-unroll
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2016-03-31 9:53:50
Message-ID: bug-27157-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1459418030.e2B25D0.25797
Date: Thu, 31 Mar 2016 04:53:50 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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@nondot.org
          Reporter: paulsson@linux.vnet.ibm.com
                CC: llvm-bugs@lists.llvm.org,
                    michael.v.zolotukhin@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.

--1459418030.e2B25D0.25797
Date: Thu, 31 Mar 2016 04:53:50 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - opt -O3 crashes with debug-only=loop-unroll"
   href="https://llvm.org/bugs/show_bug.cgi?id=27157">27157</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>opt -O3 crashes with debug-only=loop-unroll
          </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&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>paulsson&#64;linux.vnet.ibm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs&#64;lists.llvm.org, michael.v.zolotukhin&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16139" \
name="attach_16139" title="opt input">attachment 16139</a> <a \
href="attachment.cgi?id=16139&amp;action=edit" title="opt input">[details]</a></span> \
opt input

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


  if (DT &amp;&amp; !CompletelyUnroll)
    DT-&gt;recalculate(*L-&gt;getHeader()-&gt;getParent());
  else
    DEBUG(DT-&gt;verifyDomTree());        \
&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;


bin/opt ./reg-stack.bc -O3 -mtriple=s390x-linux-gnu -mcpu=z13
-debug-only=loop-unroll</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>

--1459418030.e2B25D0.25797--


[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic