[llvm-bugs] [Bug 39124] New: ppc64el assertion failure in llvm::AsmPrinter::EmitJumpTableEntry

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 28 15:54:48 PDT 2018


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 at nondot.org
          Reporter: PHHargrove at lbl.gov
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180928/65d7ef02/attachment-0001.html>


More information about the llvm-bugs mailing list