[all-commits] [llvm/llvm-project] db9df4: [mlir-tblgen] Avoid ODS verifier duplication

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Sun Jul 4 19:13:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db9df434fae905fba6e02becdb266ae5c143540c
      https://github.com/llvm/llvm-project/commit/db9df434fae905fba6e02becdb266ae5c143540c
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2021-07-05 (Mon, 05 Jul 2021)

  Changed paths:
    M mlir/include/mlir/TableGen/Predicate.h
    M mlir/test/mlir-tblgen/predicate.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir-tblgen] Avoid ODS verifier duplication

Different constraints may share the same predicate, in this case, we
will generate duplicate ODS verification function.

Reviewed By: jpienaar

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




More information about the All-commits mailing list