[all-commits] [llvm/llvm-project] 245233: [MLIR] Generate inferReturnTypes declaration using...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Fri Dec 4 09:13:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 245233423e466979e11b39cbed676903892d07f8
      https://github.com/llvm/llvm-project/commit/245233423e466979e11b39cbed676903892d07f8
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M mlir/include/mlir/Interfaces/InferTypeOpInterface.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [MLIR] Generate inferReturnTypes declaration using InferTypeOpInterface trait.

- Instead of hardcoding the parameters and return types of 'inferReturnTypes', use the
  InferTypeOpInterface trait to generate the method declaration.
- Fix InferTypeOfInterface to use fully qualified type for inferReturnTypes results.

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




More information about the All-commits mailing list