[all-commits] [llvm/llvm-project] 856d70: [mlir][transform] Plumb a simplified form of Affin...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Sat Jun 21 07:11:47 PDT 2025


  Branch: refs/heads/users/nico/revisit-pad-with-affine-min-fold
  Home:   https://github.com/llvm/llvm-project
  Commit: 856d708e2cb54fecc519db6a78029243ea409e34
      https://github.com/llvm/llvm-project/commit/856d708e2cb54fecc519db6a78029243ea409e34
  Author: Nicolas Vasilache <nico.vasilache at amd.com>
  Date:   2025-06-21 (Sat, 21 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.h
    M mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/PadTilingInterface.cpp
    M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
    M mlir/test/Dialect/Linalg/transform-op-pad-tiling-interface-multiple-of.mlir

  Log Message:
  -----------
  [mlir][transform] Plumb a simplified form of AffineMin folding into transform.pad-tiling-interface

This revision introduces a simple variant of AffineMin folding in makeComposedFoldedAffineApply
and makes use of it in transform.pad-tiling-interface.
Since this version explicitly call ValueBoundsInterface, it may be too expensive and is
only activate behind a flag.
It results in better foldings when mixing tiling and padding, including with dynamic shapes.

This should be further composed with #145068 to provide full simplification and address
the remaining TODO in the test.



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