[all-commits] [llvm/llvm-project] b5ea28: [mlir][linalg] Let tile and fuse fail for tile siz...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Fri Feb 4 11:22:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5ea288d13d099fc60f64932e8826d437e842348
      https://github.com/llvm/llvm-project/commit/b5ea288d13d099fc60f64932e8826d437e842348
  Author: gysit <gysit at google.com>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/tile-and-fuse-no-fuse.mlir

  Log Message:
  -----------
  [mlir][linalg] Let tile and fuse fail for tile sizes zero.

Adapt `tileConsumerAndFuseProducers` to return failure if the generated tile loop nest is empty since all tile sizes are zero. Additionally, fix `LinalgTileAndFuseTensorOpsPattern` to return success if the pattern applied successfully.

Reviewed By: mravishankar

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




More information about the All-commits mailing list