[all-commits] [llvm/llvm-project] 44485f: [mlir] Prevent assertion failure in DropUnitDims

Tres via All-commits all-commits at lists.llvm.org
Tue Aug 31 03:16:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44485fcd97490db57df49796d0566a3ce5e23f4c
      https://github.com/llvm/llvm-project/commit/44485fcd97490db57df49796d0566a3ce5e23f4c
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-08-31 (Tue, 31 Aug 2021)

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

  Log Message:
  -----------
  [mlir] Prevent assertion failure in DropUnitDims

Don't assert fail on strided memrefs when dropping unit dims.
Instead just leave them unchanged.

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




More information about the All-commits mailing list