[PATCH] D93969: [TableGen] Add field kind to the RecordVal class.

Francois Pichet via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 13:06:21 PST 2021


The llvm tablegen reference guide says the keyword *field* is deprecated.
Is this still valid?

https://llvm.org/docs/TableGen/ProgRef.html

On Fri, Jan 1, 2021 at 12:21 PM Paul C. Anagnostopoulos via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:

> Paul-C-Anagnostopoulos created this revision.
> Paul-C-Anagnostopoulos added reviewers: lattner, madhur13490, dblaikie,
> craig.topper.
> Herald added a subscriber: hiraditya.
> Paul-C-Anagnostopoulos requested review of this revision.
> Herald added a project: LLVM.
> Herald added a subscriber: llvm-commits.
>
> This revision adds a field kind to the RecordVal class, replacing the
> prefix bit in the TyAndKind member (formerly TyAndPrefix). A field can now
> have one of three kinds: normal, nonconcrete OK (indicated by the 'field'
> keyword), and template argument.
>
> This revision prepares for the next one, where I will improve the
> algorithms that deal with class and multiclass template arguments.
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> https://reviews.llvm.org/D93969
>
> Files:
>   llvm/include/llvm/TableGen/Record.h
>   llvm/lib/TableGen/JSONBackend.cpp
>   llvm/lib/TableGen/Record.cpp
>   llvm/lib/TableGen/TGParser.cpp
>   llvm/utils/TableGen/CodeEmitterGen.cpp
>   llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210111/72362060/attachment.html>


More information about the llvm-commits mailing list