[all-commits] [llvm/llvm-project] 287ade: [mlir][doc] Avoid duplication with constraints and...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Jun 16 19:43:11 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 287ade415eaf88bd13345e6106004bd7b57986fb
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

  Changed paths:
    M mlir/test/mlir-tblgen/gen-dialect-doc.td
    M mlir/tools/mlir-tblgen/OpDocGen.cpp

  Log Message:
  [mlir][doc] Avoid duplication with constraints and defs

Where a constraint also has a def, emit the def only to avoid duplicate
output (and def has more complete info). Also move attributes and types
to the end rather than some on top and some at end.

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

More information about the All-commits mailing list