[LLVMdev] RFC building a target MCAsmParser

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 14 11:21:01 PDT 2015


On Tue, Apr 14, 2015 at 12:58:51PM -0500, Colin LeMahieu wrote:
> We found the Hexagon grammar to be straight forward to implement using plain
> lex / parse but harder within the MCTargetAsmParser. 

Can you go into more detail what exactly you find difficult? X86 already
has the problem of integrating two quite different assembler variants.
Your grammar also seems to lack a number of things like how to specify
sections and similar meta data?

Joerg



More information about the llvm-dev mailing list