[PATCH] D99751: Add the TableGen assert statement, step 3

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 10:58:58 PDT 2021


Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, madhur13490, dblaikie, jansvoboda11, 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 third step adds support for the 'assert' statement in multiclasses. The statement is now supported at top level and in records, classes, and multiclasses.

@jansvoboda11, once this is pushed, you can add your assertions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99751

Files:
  llvm/docs/TableGen/ProgRef.rst
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGParser.cpp
  llvm/lib/TableGen/TGParser.h
  llvm/test/TableGen/assert.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99751.334766.patch
Type: text/x-patch
Size: 11267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210401/1e4ea13d/attachment.bin>


More information about the llvm-commits mailing list