[all-commits] [llvm/llvm-project] a19fe7: [mlir] Split dialect definition constructs out of ...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Apr 11 15:33:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a19fe7b6400c7cbcd806ad7bbf97403d1f376347
      https://github.com/llvm/llvm-project/commit/a19fe7b6400c7cbcd806ad7bbf97403d1f376347
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    A mlir/include/mlir/IR/DialectBase.td
    M mlir/include/mlir/IR/OpBase.td

  Log Message:
  -----------
  [mlir] Split dialect definition constructs out of OpBase into DialectBase

OpBase is currently extremely overbloated with constructs. This
commit continues the current process of cleaning this up, by splitting
out dialect definition constructs. This maps the ODS side more closely
to the C++ side.

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


  Commit: 73c4f9d4d3c37696bc660096585a27eca5e89725
      https://github.com/llvm/llvm-project/commit/73c4f9d4d3c37696bc660096585a27eca5e89725
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M mlir/docs/Canonicalization.md
    A mlir/docs/DefiningDialects.md

  Log Message:
  -----------
  [mlir:docs] Add proper documentation for defining dialects

We don't actually have any documentation today for how to
declaratively define a dialect. This commit rectifies that and properly
documents how to define a Dialect in tablegen, and details all of
the possible fields.

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


Compare: https://github.com/llvm/llvm-project/compare/0c13d97e2b50...73c4f9d4d3c3


More information about the All-commits mailing list