[all-commits] [llvm/llvm-project] 88f07a: [mlir] Make UnitAttr's default val in unwrapped bu...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Wed Oct 5 10:41:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88f07a736bbc3f0062d7d8f4032f0b54aff5c018
      https://github.com/llvm/llvm-project/commit/88f07a736bbc3f0062d7d8f4032f0b54aff5c018
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir] Make UnitAttr's default val in unwrapped builder

UnitAttr is optional but unwrapped builders require it. Make Change onstructing
from bool as required for when not set at moment (for UnitAttr nothing needs to
be constructed, this is true for others here too and can be addressed
together).

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




More information about the All-commits mailing list