[llvm-commits] [llvm] r77499 - /llvm/trunk/utils/TableGen/AsmWriterEmitter.cpp

Chris Lattner clattner at apple.com
Thu Jul 30 20:43:08 PDT 2009


On Jul 30, 2009, at 8:22 PM, Daniel Dunbar wrote:

> I don't really understand this discussion.
>
> There should be enough information in the .td file to split the
> assembly string into "operands" (in the assembler use of the term, not
> the LLVM use). If there isn't, we will eventually need it for the
> assembler parser -- currently it is inferring that information by a
> sloppy tokenization of the output assembler string.
>
> Given that this information exists (and must exist, for the assembler
> parser to work), it follows that the .td file doesn't need any changes
> to support lining the operands up into columns.
>
> Since the assembler parser will need strictly more information than
> formatted output, it seems to me to make more sense to focus on where
> we don't currently have enough information for it.
>
> Does this make sense?

Yes, using \t to denote that makes a ton of sense to me.

-Chris




More information about the llvm-commits mailing list