[all-commits] [llvm/llvm-project] 4fb25c: [MLIR][Linalg] Preserve DPS when decomposing Softmax

lorenzo chelini via All-commits all-commits at lists.llvm.org
Fri Jul 21 09:03:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fb25ca51c851015d7e0081b08da342285de2cb1
      https://github.com/llvm/llvm-project/commit/4fb25ca51c851015d7e0081b08da342285de2cb1
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/transform-op-decompose.mlir

  Log Message:
  -----------
  [MLIR][Linalg] Preserve DPS when decomposing Softmax

Preserve destination passing style (DPS) when decomposing
`linalg.Softmax`; instead of creating a new empty, which may materialize
as a new buffer after bufferization, use the result directly.

Reviewed By: qcolombet

Differential Revision: https://reviews.llvm.org/D155942




More information about the All-commits mailing list