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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to