[llvm-bugs] [Bug 37618] New: [MSP430] Assertion: Trying to add an operand to a machine instr that is already done!

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 29 08:16:42 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37618

            Bug ID: 37618
           Summary: [MSP430] Assertion: Trying to add an operand to a
                    machine instr that is already done!
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: MSP430
          Assignee: unassignedbugs at nondot.org
          Reporter: pftbest at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20351
  --> https://bugs.llvm.org/attachment.cgi?id=20351&action=edit
Simplified ir

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.

-- 
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/20180529/13b5297d/attachment.html>


More information about the llvm-bugs mailing list