[all-commits] [llvm/llvm-project] d0774f: [mlir][linalg] update drop unit dims to support li...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Apr 19 22:24:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0774f7f0a147411bf2b0e3a692b22853f3fd3de
      https://github.com/llvm/llvm-project/commit/d0774f7f0a147411bf2b0e3a692b22853f3fd3de
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir

  Log Message:
  -----------
  [mlir][linalg] update drop unit dims to support linalg index operations.

Update the dimensions of the index operations to account for dropped dimensions and replace the index operations of dropped dimensions by zero.

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




More information about the All-commits mailing list