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

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Sun Jun 22 21:07:52 PDT 2025


  Branch: refs/heads/users/nico/revisit-pad-drop-padding-dimensions
  Home:   https://github.com/llvm/llvm-project
  Commit: 0571bcc90f971af3fc5ad2112911f0af705466a5
      https://github.com/llvm/llvm-project/commit/0571bcc90f971af3fc5ad2112911f0af705466a5
  Author: Nicolas Vasilache <nico.vasilache at amd.com>
  Date:   2025-06-23 (Mon, 23 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.


  Commit: a597feb8800560dd34560d49704824475d34cc91
      https://github.com/llvm/llvm-project/commit/a597feb8800560dd34560d49704824475d34cc91
  Author: Nicolas Vasilache <Nico.Vasilache at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:

  Log Message:
  -----------
  Merge branch 'users/nico/revisit-pad-with-affine-min-fold' into users/nico/revisit-pad-drop-padding-dimensions


Compare: https://github.com/llvm/llvm-project/compare/512be3adf3bd...a597feb88005

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