Skip to content

[MSP430] Assertion: Trying to add an operand to a machine instr that is already done! #36966

Open
@llvmbot

Description

@llvmbot
Bugzilla Link 37618
Version trunk
OS All
Attachments Simplified ir, Original IR
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

Running llc -O3 on this IR fails with assertion:

Assertion failed: ((isImpReg || Op.isRegMask() || MCID->isVariadic() || OpNo < MCID->getNumOperands() || isMetaDataOp) && "Trying to add an operand to a machine instr that is already done!"), function addOperand, file /Users/vadzim/Documents/llvm/lib/CodeGen/MachineInstr.cpp, line 234.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions