[all-commits] [llvm/llvm-project] 9e8b03: [MLIR][Linalg] Fix FlattenElementwiseOp on broadca...

Hugo Trachino via All-commits all-commits at lists.llvm.org
Mon Jul 13 01:56:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e8b030aa80b78abaa054b5f75c36f51d1995088
      https://github.com/llvm/llvm-project/commit/9e8b030aa80b78abaa054b5f75c36f51d1995088
  Author: Hugo Trachino <hugo.trachino at huawei.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/test/Dialect/Linalg/flatten-elementwise.mlir
    M mlir/test/Dialect/Linalg/flatten-unsupported.mlir

  Log Message:
  -----------
  [MLIR][Linalg] Fix FlattenElementwiseOp on broadcasted linalgs (#207005)

Applying FlattenElementwiseLinalgOp on Broadcasted linalg would break.
This transformation is not valid for those usecase, so I added a
condition to exit gracefully instead.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list