Skip to content

Assertion "Register class of operand and regclass of use don't agree!"' failed. #1423

@asl

Description

@asl
Bugzilla Link 1051
Resolution DUPLICATE
Resolved on Feb 22, 2010 12:48
Version trunk
OS Linux
Attachments Bytecode

Extended Description

And another assertion in Qt series :)

Attached bytecode:

  1. Produce assertion:
    llc: /home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:367: void
    llvm::ScheduleDAG::AddOperand(llvm::MachineInstr*, llvm::SDOperand, unsigned
    int, const llvm::TargetInstrDescriptor*, std::map<llvm::SDNode*, unsigned int,
    std::lessllvm::SDNode*, std::allocator<std::pair<llvm::SDNode* const, unsigned
    int> > >&): Assertion `RegMap->getRegClass(VReg) == RC && "Register class of
    operand and regclass of use don't agree!"' failed.
    ./llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x85a8cef]
    /lib/libc.so.6(abort+0xeb)[0xb7d03133]
    /lib/libc.so.6(__assert_fail+0xeb)[0xb7cfb4f3]
    ./llc(llvm::ScheduleDAG::AddOperand(llvm::MachineInstr*, llvm::SDOperand,
    unsigned int, llvm::TargetInstrDescriptor const*, std::map<llvm::SDNode*,
    unsigned int, std::lessllvm::SDNode*, std::allocator<std::pair<llvm::SDNode*
    const, unsigned int> > >&)+0x6b9)[0x840c479]

  2. Bugpoint just hangs at some step reducing it. -timeout don't work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions