[all-commits] [llvm/llvm-project] f7e179: [mlir][tosa] Lowering of tosa.gather operations wi...

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Apr 10 09:01:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7e17975804f4736c660a5163e71c5be6395631f
      https://github.com/llvm/llvm-project/commit/f7e17975804f4736c660a5163e71c5be6395631f
  Author: Spenser Bauman <sbauman at mathworks.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

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

  Log Message:
  -----------
  [mlir][tosa] Lowering of tosa.gather operations with dynamic dimensions

The existing TOSA->Linalg lowering of tosa.gather only supports gathers
with either a static shape or a single dynamic batch dimension.
This change extends support to arbitrary number of dynamic dimensions on
both the values and indices of the gather operation.

Reviewed By: rsuderman

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




More information about the All-commits mailing list