[all-commits] [llvm/llvm-project] 2a1962: mlir/tosa: move tosa.pad from Linalg to Tensor con...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Mon Dec 5 22:40:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a1962542423f62928a4c2e6cf42e97b190de49d
      https://github.com/llvm/llvm-project/commit/2a1962542423f62928a4c2e6cf42e97b190de49d
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2022-12-06 (Tue, 06 Dec 2022)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    M mlir/lib/Conversion/TosaToTensor/TosaToTensorPass.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir

  Log Message:
  -----------
  mlir/tosa: move tosa.pad from Linalg to Tensor conversion

Since tosa.pad is lowered strictly to artih and tensor ops, move
ConvertPad from TosaToLinalg to TosaToTensor, benefitting non-Linalg
Tosa targets. TensorToLinalg exists, and is trivial, so nothing is lost.

Signed-off-by: Ramkumar Ramachandra <r at artagnon.com>

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




More information about the All-commits mailing list