[all-commits] [llvm/llvm-project] 4cf9bf: [mlir][MemRef] Compute unused dimensions of a rank...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Mon Sep 20 11:06:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4cf9bf6c9f64cca1111134acc9f84efe8f27e8d1
https://github.com/llvm/llvm-project/commit/4cf9bf6c9f64cca1111134acc9f84efe8f27e8d1
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2021-09-20 (Mon, 20 Sep 2021)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Interfaces/ViewLikeInterface.td
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/MemRef/Transforms/FoldSubViewOps.cpp
M mlir/test/Dialect/Linalg/loops.mlir
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/MemRef/fold-subview-ops.mlir
M mlir/test/Dialect/MemRef/invalid.mlir
M mlir/test/IR/invalid-ops.mlir
Log Message:
-----------
[mlir][MemRef] Compute unused dimensions of a rank-reducing subviews using strides as well.
For `memref.subview` operations, when there are more than one
unit-dimensions, the strides need to be used to figure out which of
the unit-dims are actually dropped.
Differential Revision: https://reviews.llvm.org/D109418
More information about the All-commits
mailing list