[PATCH] D126290: [TableGen] Undeprecate 'field' when used with the CodeEmitterGen backend.

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 04:22:49 PDT 2022


kosarev created this revision.
Herald added a project: All.
kosarev requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126290

Files:
  llvm/docs/TableGen/ProgRef.rst


Index: llvm/docs/TableGen/ProgRef.rst
===================================================================
--- llvm/docs/TableGen/ProgRef.rst
+++ llvm/docs/TableGen/ProgRef.rst
@@ -208,7 +208,9 @@
    multiclass string        then          true
 
 .. warning::
-  The ``field`` reserved word is deprecated.
+  The ``field`` reserved word is deprecated, except when used with the
+  CodeEmitterGen backend where it's used to distinct normal record fields
+  from encoding fields.
 
 Bang operators
 --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126290.431642.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/efcbaceb/attachment.bin>


More information about the llvm-commits mailing list