[llvm-bugs] [Bug 33490] New: Implement MCSymbol machine operand parsing in the MIRParser

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 16 14:55:39 PDT 2017


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

            Bug ID: 33490
           Summary: Implement MCSymbol machine operand parsing in the
                    MIRParser
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: thegameg1 at yahoo.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18653
  --> https://bugs.llvm.org/attachment.cgi?id=18653&action=edit
Basic test case with exceptions.

Trunk revision: r304838

MIR input from -stop-before passfoo should be able to be parsed by
-start-before passfoo. This is failing today with exceptions involved.

StopBeforeStartAfterExceptions.ll (attached) is a really basic test case with
exceptions.

$ llc -mtriple=x86_64-- StopBeforeStartAfterExceptions.ll -stop-before
prologepilog -o /tmp/mir.mir

$ llc -mtriple=x86_64-- /tmp/mir.mir -start-before prologepilog -o -

error: /tmp/mir.mir:65:14: expected a machine operand
    EH_LABEL <mcsymbol .Ltmp0>

This seems to be related to the FIXME in CodeGen/MIRParser/MIParser.cpp
(https://reviews.llvm.org/diffusion/L/browse/llvm/trunk/lib/CodeGen/MIRParser/MIParser.cpp;305595$1868).

-- 
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/20170616/c3356d7e/attachment.html>


More information about the llvm-bugs mailing list