[llvm-bugs] [Bug 33508] New: Tablegen does not use correct namespace for AsmMatcher

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 19 07:04:44 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: e.j.v.d.put at student.tue.nl
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170619/a471c739/attachment-0001.html>


More information about the llvm-bugs mailing list