[all-commits] [llvm/llvm-project] b68e8f: [mlir][linalg] Allow promotion to use the original...

zbenzion via All-commits all-commits at lists.llvm.org
Tue Jul 1 23:48:13 PDT 2025


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
    M mlir/test/Dialect/Linalg/promotion_options.mlir

  Log Message:
  -----------
  [mlir][linalg] Allow promotion to use the original subview size (#144334)

linalg promotion attempts to compute a constant upper bound for the
allocated buffer size. Only when failed to compute an upperbound it
fallbacks to the original subview size, which may be dynamic.

Adding a promotion option to use the original subview size by default,
thus minimizing the allocation size.
Fixes #144268.



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