[PATCH] D127948: [TableGen] Add new operator !instanceof

Wang Pengcheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 06:01:15 PDT 2022


pcwang-thead updated this revision to Diff 438363.
pcwang-thead added a comment.

- Guide users to use !isa when argument is a record.
- Make position of error reporting correct.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127948/new/

https://reviews.llvm.org/D127948

Files:
  llvm/docs/TableGen/ProgRef.rst
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGLexer.cpp
  llvm/lib/TableGen/TGLexer.h
  llvm/lib/TableGen/TGParser.cpp
  llvm/test/TableGen/instanceof-error-non-string.td
  llvm/test/TableGen/instanceof-error-record.td
  llvm/test/TableGen/instanceof.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127948.438363.patch
Type: text/x-patch
Size: 10892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220620/033acf9f/attachment.bin>


More information about the llvm-commits mailing list