[all-commits] [llvm/llvm-project] 7939b7: [mlir] Support default valued attribute in StructsGen

Lei Zhang via All-commits all-commits at lists.llvm.org
Thu Sep 3 06:50:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7939b76e2a7b1fbc288f6d700bdbe53c581b58a6
      https://github.com/llvm/llvm-project/commit/7939b76e2a7b1fbc288f6d700bdbe53c581b58a6
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

  Changed paths:
    M mlir/tools/mlir-tblgen/StructsGen.cpp
    M mlir/unittests/TableGen/StructsGenTest.cpp
    M mlir/unittests/TableGen/structs.td

  Log Message:
  -----------
  [mlir] Support default valued attribute in StructsGen

Its handling is similar to optional attributes, except for the
getter method.

Reviewed By: rsuderman

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




More information about the All-commits mailing list