[LLVMbugs] [Bug 366] NEW: llc asserts on the attached bytecode

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jun 9 07:52:44 PDT 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=366

           Summary: llc asserts on the attached bytecode
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: criswell at uiuc.edu


The llc program asserts on the attached bytecode:

llvm-as -f file.ll
llc -f file.bc

llc: /home/vadve/criswell/llvm/lib/Target/X86/InstSelectSimple.cpp:65:
<unnamed>::TypeClass getClass(const llvm::Type*): Assertion `0 && "Invalid type
to getClass!"' failed.
llc[0x856a8de]
llc[0x856aafe]
llc[0x42029188]
llc(abort+0x16e)[0x4202a8c2]
llc[0x42022ecb]
llc[0x8395bd7]
llc((anonymous namespace)::ISel::visitLoadInst(llvm::LoadInst&)+0x85)[0x8391547]
llc(llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visitLoad(llvm::LoadInst&)+0x18)[0x83bc414]
llc(llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visit(llvm::Instruction&)+0x256)[0x83bc18c]
llc(void llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visit<llvm::ilist_iterator<llvm::Instruction>
>(llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>)+0x56)[0x83bbdda]
llc(llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visit(llvm::BasicBlock&)+0x5b)[0x83bbd81]
llc(void llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visit<llvm::ilist_iterator<llvm::BasicBlock>
>(llvm::ilist_iterator<llvm::BasicBlock>,
llvm::ilist_iterator<llvm::BasicBlock>)+0x56)[0x83bbd22]
llc(llvm::InstVisitor<(anonymous namespace)::ISel,
void>::visit(llvm::Function&)+0x5b)[0x83ba84f]
llc((anonymous namespace)::ISel::runOnFunction(llvm::Function&)+0x195)[0x83ba225]
llc(llvm::PassManagerTraits<llvm::Function>::runPass(llvm::FunctionPass*,
llvm::Function*)+0x1f)[0x84e032b]
llc(llvm::PassManagerT<llvm::Function>::runOnUnit(llvm::Function*)+0x5e1)[0x84d65cf]
llc(llvm::PassManagerTraits<llvm::Function>::runOnFunction(llvm::Function&)+0x1f)[0x84d71a3]
llc(llvm::FunctionPass::run(llvm::Module&)+0xa7)[0x848faa3]
llc(llvm::PassManagerTraits<llvm::Module>::runPass(llvm::Pass*,
llvm::Module*)+0x1f)[0x84e03c1]
llc(llvm::PassManagerT<llvm::Module>::runOnUnit(llvm::Module*)+0x5e1)[0x84d472f]
llc(llvm::PassManagerTraits<llvm::Module>::run(llvm::Module&)+0x1f)[0x84d5dd1]
llc(llvm::PassManager::run(llvm::Module&)+0x23)[0x848ef67]
llc(main+0xabb)[0x830d43b]
llc(__libc_start_main+0x95)[0x42017589]
llc(std::basic_ostream<char, std::char_traits<char> >& std::operator<<
<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&,
char)+0x49)[0x830c8d1]
Abort (core dumped)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list