[PATCH] D14257: [AsmParser] Generalize matching for grammars without mnemonic-lead statements.

Colin LeMahieu via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 12:15:27 PST 2015


colinl created this revision.
colinl added reviewers: sidneym, mcrosier.
colinl added a subscriber: llvm-commits.
colinl set the repository for this revision to rL LLVM.

Right now one of the assumptions from tablegen and the asm matcher is that instruction statements are lead by a mnemonic.  Hexagon doesn't follow this assumption and even trivial instructions like a register transfer

r0 = r1

Breaks tablegen when generating match tables.

Repository:
  rL LLVM

http://reviews.llvm.org/D14257

Files:
  utils/TableGen/AsmMatcherEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14257.38963.patch
Type: text/x-patch
Size: 6292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/224cc317/attachment.bin>


More information about the llvm-commits mailing list