[all-commits] [llvm/llvm-project] 603354: [mlir][linalg] Fix memref type verification in Col...

zbenzion via All-commits all-commits at lists.llvm.org
Wed Jul 9 01:04:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 603354417375394eb5a9bab2780b6e585da3f628
      https://github.com/llvm/llvm-project/commit/603354417375394eb5a9bab2780b6e585da3f628
  Author: zbenzion <zbenzion at mobileye.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/collapse-dim.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix memref type verification in CollapseLinalgDimensions (#147245)

When collapsing linalg dimensions we check if its memref operands are
guaranteed to be collapsible. However, we currently assume that the
matching indexing map is the identity map.

This commit modifies this behavior and checks if the memref is
collapsible on the transformed dimensions.



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