[all-commits] [llvm/llvm-project] 41d919: [mlir][TypeDefGen] Remove the need to define parse...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Jan 6 15:00:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41d919aa29468ac072755b8449b8a38ff26f6979
      https://github.com/llvm/llvm-project/commit/41d919aa29468ac072755b8449b8a38ff26f6979
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/tools/mlir-tblgen/TypeDefGen.cpp

  Log Message:
  -----------
  [mlir][TypeDefGen] Remove the need to define parser/printer for singleton types

This allows for singleton types without an explicit parser/printer to simply use
the mnemonic as the assembly format, removing the need for these types to provide the parser/printer
fields.

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




More information about the All-commits mailing list