[all-commits] [llvm/llvm-project] e99835: [mlir][pdl] Make `pdl` the default dialect when pa...

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Jan 20 12:23:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e99835ffedc23cc132c8a9c769c85ac20b66cb3a
      https://github.com/llvm/llvm-project/commit/e99835ffedc23cc132c8a9c769c85ac20b66cb3a
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-rewriter.mlir
    M mlir/test/Dialect/PDL/canonicalize.mlir
    M mlir/test/Dialect/PDL/invalid.mlir
    M mlir/test/Dialect/PDL/ops.mlir
    M mlir/test/python/dialects/pdl_ops.py

  Log Message:
  -----------
  [mlir][pdl] Make `pdl` the default dialect when parsing/printing

PDLDialect being a somewhat user-facing dialect and whose ops contain exclusively other PDL ops in their regions can take advantage of `OpAsmOpInterface` to provide nicer IR.

Reviewed By: rriddle

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




More information about the All-commits mailing list