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

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 39124] New: ppc64el assertion failure in llvm::AsmPrinter::EmitJumpTableEntry
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2018-09-28 22:54:48
Message-ID: bug-39124-206 () http ! bugs ! llvm ! org/
[Download RAW message or body]

--1538175288.F7D060.1130
Date: Fri, 28 Sep 2018 15:54:48 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

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

            Bug ID: 39124
           Summary: ppc64el assertion failure in
                    llvm::AsmPrinter::EmitJumpTableEntry
           Product: libraries
           Version: 7.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs@nondot.org
          Reporter: PHHargrove@lbl.gov
                CC: llvm-bugs@lists.llvm.org

Created attachment 20938
  --> https://bugs.llvm.org/attachment.cgi?id=20938&action=edit
Compilation output including backtrace

The following assertion failure has been seen with llvm-7.0.0:

clang-7:
/home/phargrov/llvm-7.0.0.src/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1759: void
llvm::AsmPrinter::EmitJumpTableEntry(const llvm::MachineJumpTableInfo*, const
llvm::MachineBasicBlock*, unsigned int) const: Assertion `MBB &&
MBB->getNumber() >= 0 && "Invalid basic block"' failed.

However, 4.0, 5.0 and 6.0 show the same, while 3.7 and 3.8 do not.

The same code does not generate any such failure on (at least) x86, x86-64,
arm, aarch64, sparc64 (for various 4.0, 5.0 or 6.0 versions).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--1538175288.F7D060.1130
Date: Fri, 28 Sep 2018 15:54:48 -0700
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

<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 - ppc64el assertion failure in llvm::AsmPrinter::EmitJumpTableEntry"
   href="https://bugs.llvm.org/show_bug.cgi?id=39124">39124</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ppc64el assertion failure in llvm::AsmPrinter::EmitJumpTableEntry
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Common Code Generator Code
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>PHHargrove&#64;lbl.gov
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs&#64;lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20938" \
name="attach_20938" title="Compilation output including backtrace">attachment \
20938</a> <a href="attachment.cgi?id=20938&amp;action=edit" title="Compilation output \
including backtrace">[details]</a></span> Compilation output including backtrace

The following assertion failure has been seen with llvm-7.0.0:

clang-7:
/home/phargrov/llvm-7.0.0.src/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1759: void
llvm::AsmPrinter::EmitJumpTableEntry(const llvm::MachineJumpTableInfo*, const
llvm::MachineBasicBlock*, unsigned int) const: Assertion `MBB &amp;&amp;
MBB-&gt;getNumber() &gt;= 0 &amp;&amp; &quot;Invalid basic block&quot;' failed.

However, 4.0, 5.0 and 6.0 show the same, while 3.7 and 3.8 do not.

The same code does not generate any such failure on (at least) x86, x86-64,
arm, aarch64, sparc64 (for various 4.0, 5.0 or 6.0 versions).</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>
--1538175288.F7D060.1130--


[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