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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to