[all-commits] [llvm/llvm-project] 774425: [mlir][Linalg] Drop check for output indexing maps.

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Fri Aug 26 09:16:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7744253f12a84879aa58522346e919df8b65364e
      https://github.com/llvm/llvm-project/commit/7744253f12a84879aa58522346e919df8b65364e
  Author: Mahesh Ravishankar <ravishankarm at google.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/roundtrip.mlir
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][Linalg] Drop check for output indexing maps.

The current check for form of the output indexing maps disallows
generic ops that return both a reduced and unreduced value. Such an op
seems like it could fall within the scope of a Strucutred op. Drop the
check. The only load-bearing place this was found to cause isseus was
during vectorization, but the fix for that seems to be simple.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list