[all-commits] [llvm/llvm-project] a0e0d3: [mlir][Linalg] Print both types for linalg.transpose

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Fri Sep 11 02:18:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0e0d30a29841fe6cc854f3949f12bb523814d7a
      https://github.com/llvm/llvm-project/commit/a0e0d30a29841fe6cc854f3949f12bb523814d7a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/llvm.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir

  Log Message:
  -----------
  [mlir][Linalg] Print both types for linalg.transpose

Previously only the input type was printed, and the parser applied it to
both input and output, creating an invalid transpose. Print and parse
both types, and verify that they match.

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




More information about the All-commits mailing list