[all-commits] [llvm/llvm-project] be01b0: [mlir][tosa] Remove constant-0 dim expr values fro...

rsuderman via All-commits all-commits at lists.llvm.org
Thu Apr 29 15:23:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be01b091afd820c5784ba960241ea6140529b654
      https://github.com/llvm/llvm-project/commit/be01b091afd820c5784ba960241ea6140529b654
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

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

  Log Message:
  -----------
  [mlir][tosa] Remove constant-0 dim expr values from TOSA lowerings

Constant-0 dim expr values should be avoided for linalg as it can prevent
fusion. This includes adding support for rank-0 reshapes.

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




More information about the All-commits mailing list