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

            Bug ID: 33508
           Summary: Tablegen does not use correct namespace for AsmMatcher
           Product: tools
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: TableGen
          Assignee: unassignedb...@nondot.org
          Reporter: e.j.v.d....@student.tue.nl
                CC: llvm-bugs@lists.llvm.org

For an architecture I am working on the target name is different from the
namespace we use in tablegen. Tablegen does not produce a valid asmMatcher in
this case.

In the MatchTable the namespace of the instruction name is target name instead
of the register class namespace.
 (utils/TableGen/AsmMatcherEmitter.cpp:2951)

ValidateOperandClass when Operand.isReg()
target name is used for the registers instead of decodernamespace.
(utils/TableGen/AsmMatcherEmitter.cpp:2225)

-- 
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