[llvm-dev] TableGen 'code' type to be eliminated

Aaron Ballman via llvm-dev llvm-dev at lists.llvm.org
Sat Nov 21 06:23:49 PST 2020


On Fri, Nov 20, 2020 at 7:27 PM Paul C. Anagnostopoulos via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> Yes, my plan is to keep the reserved word 'code' as a synonym for 'string', and to continue printing code with the [{...}] brackets.

That'd work fine by me then, thanks!

~Aaron

>
> At 11/20/2020 07:19 PM, Thomas Lively wrote:
> >Would it be possible to keep "code" in the TableGen syntax as an alias for "string" while removing the distinction in TableGen backends? That would retain the documentation benefits of "code" in .td files. TBH, this is how I thought "code" and "string" already worked; I wasn't aware of the distinction.
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list