[all-commits] [llvm/llvm-project] a8c647: [mlir][NFC] Provide accessor for TableGen record

Fehr Mathieu via All-commits all-commits at lists.llvm.org
Thu Sep 8 09:47:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8c647dbe603a0668e156010e358863bd64de1e4
      https://github.com/llvm/llvm-project/commit/a8c647dbe603a0668e156010e358863bd64de1e4
  Author: Mathieu Fehr <mathieu.fehr at gmail.com>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    M mlir/include/mlir/TableGen/Constraint.h
    M mlir/include/mlir/TableGen/Predicate.h

  Log Message:
  -----------
  [mlir][NFC] Provide accessor for TableGen record

Constraint and Predicate classes did not expose their underlying
tablegen records. This means that for Constraints, it is not possible
to get the underlying base constraint of a variadic constraint.
For Predicate, it is not possible to get the predicates forming an
`Or` predicate for instance.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D133264




More information about the All-commits mailing list