[all-commits] [llvm/llvm-project] 974460: [MLIR] Change default builders generated by TableG...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Sep 23 09:06:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9744606614df4ba85a4d546c94b3b5ef9d3a3a96
      https://github.com/llvm/llvm-project/commit/9744606614df4ba85a4d546c94b3b5ef9d3a3a96
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td
    M mlir/test/mlir-tblgen/op-decl.td
    M mlir/test/mlir-tblgen/op-result.td
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [MLIR] Change default builders generated by TableGen to use TypeRange for result types

- Change the default builders to use TypeRange instead of ArrayRef<Type>
- Custom builders defined in LinalgStructuredOps now conflict with the default
  separate param ones, but the default collective params one is still needed. Resolve
  this by replicating the collective param builder as a custom builder and skipping
  the generation of default builders for these ops.

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




More information about the All-commits mailing list