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: unassignedb...@nondot.org
          Reporter: thegam...@yahoo.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to