[all-commits] [llvm/llvm-project] 10d792: Fix FoldReshapeOpWithUnitExtent generating illegal...

Ahmed S. Taei via All-commits all-commits at lists.llvm.org
Wed Apr 21 11:32:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10d7924581f8f29c558d089c2546321de26f8849
      https://github.com/llvm/llvm-project/commit/10d7924581f8f29c558d089c2546321de26f8849
  Author: Ahmed Taei <ataei at google.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

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

  Log Message:
  -----------
  Fix FoldReshapeOpWithUnitExtent generating illegal reshape

This will prevent fusion that spains all dims and generates
(d0, d1, ...) -> () reshape that isn't legal

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




More information about the All-commits mailing list