[all-commits] [llvm/llvm-project] 13d057: [MLIR][TableGen] Fix ambiguous build methods when ...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Aug 10 10:05:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 13d05787d0d2dfdfd81939c2e5c41b6a913f5619
      https://github.com/llvm/llvm-project/commit/13d05787d0d2dfdfd81939c2e5c41b6a913f5619
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M mlir/include/mlir/TableGen/Operator.h
    M mlir/lib/TableGen/Operator.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/op-result.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/unittests/TableGen/OpBuildGen.cpp

  Log Message:
  -----------
  [MLIR][TableGen] Fix ambiguous build methods when inferring result types.

- Fix ODS framework to suppress build methods that infer result types and are
  ambiguous with collective variants. This applies to operations with a single variadic
  inputs whose result types can be inferred.
- Extended OpBuildGenTest to test these kinds of ops.

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




More information about the All-commits mailing list