<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@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>PHHargrove@lbl.gov
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@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&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 &&
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).</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>