[all-commits] [llvm/llvm-project] a8355b: [mlir][Linalg] Allow specifiying zero-rank shaped ...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Tue Feb 18 13:23:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8355b5c0f67d560ed8ec28133c58442bd5b93be
      https://github.com/llvm/llvm-project/commit/a8355b5c0f67d560ed8ec28133c58442bd5b93be
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
    M mlir/lib/IR/AffineMap.cpp
    M mlir/test/Dialect/Linalg/loops.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir

  Log Message:
  -----------
  [mlir][Linalg] Allow specifiying zero-rank shaped type operands to linalg.generic ops.

Fixing a bug where using a zero-rank shaped type operand to
linalg.generic ops hit an unrelated assert. This also meant that
lowering the operation to loops was not supported. Adding roundtrip
tests and lowering to loops test for zero-rank shaped type operand
with fixes to make the test pass.

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




More information about the All-commits mailing list