[LLVMbugs] [Bug 17168] New: Fast isel causes: Assertion `Bits != 0 && "Cannot print this instruction."'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 9 08:24:17 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17168

            Bug ID: 17168
           Summary: Fast isel causes: Assertion `Bits != 0 && "Cannot
                    print this instruction."'
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11171
  --> http://llvm.org/bugs/attachment.cgi?id=11171&action=edit
bugpoint reduced test case

Running llc -O0 -o bt.s bugpoint-reduced-simplified.ll on the attached test
case yields:

llvm-trunk-build/lib/Target/PowerPC/InstPrinter/../PPCGenAsmWriter.inc:2397:
void llvm::PPCInstPrinter::printInstruction(const llvm::MCInst*,
llvm::raw_ostream&): Assertion `Bits != 0 && "Cannot print this instruction."'
failed.

Two things:

 - Generating the .ll file without -g causes the crash to go away
 - Running llc with -fast-isel=0 does not crash

-- 
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/20130909/ae7063a5/attachment.html>


More information about the llvm-bugs mailing list