[all-commits] [llvm/llvm-project] c27d85: Emit the boilerplate for Type printer/parser diale...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Nov 9 16:41:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c27d85a9c91080c0d501f5e070026f06cfacceaa
      https://github.com/llvm/llvm-project/commit/c27d85a9c91080c0d501f5e070026f06cfacceaa
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/TableGen/Dialect.h
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    M mlir/lib/TableGen/Dialect.cpp
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
    M mlir/tools/mlir-tblgen/DialectGen.cpp

  Log Message:
  -----------
  Emit the boilerplate for Type printer/parser dialect dispatching from ODS

Add a new `useDefaultTypePrinterParser` boolean settings on the dialect
(default to false for now) that emits the boilerplate to dispatch type
parsing/printing to the auto-generated method.
We will likely turn this on by default in the future.

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




More information about the All-commits mailing list