[all-commits] [llvm/llvm-project] 072057: [mlir][tosa] Remove zero-fill of tosa.concat outpu...

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Nov 14 12:02:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07205761417d718dd0bddde9a1165af438cb1eaa
      https://github.com/llvm/llvm-project/commit/07205761417d718dd0bddde9a1165af438cb1eaa
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

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

  Log Message:
  -----------
  [mlir][tosa] Remove zero-fill of tosa.concat outputs when lowering to linalg.

Since all output elements are known to be overridden by construction the fill is not required. This change makes the tosa lowering consistent with the MHLO and Torch lowerings of concat which do not do the fill.

Reviewed By: rsuderman

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




More information about the All-commits mailing list