[all-commits] [llvm/llvm-project] 9dd15f: [mlir][tosa] Add aggressiveReduceConstant argument...

Amir Bishara via All-commits all-commits at lists.llvm.org
Wed Oct 11 22:49:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dd15f7486a30c4269b183f72c13006eb8c929f4
      https://github.com/llvm/llvm-project/commit/9dd15f7486a30c4269b183f72c13006eb8c929f4
  Author: Amir Bishara <139038766+amirBish at users.noreply.github.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaFolders.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaLayerwiseConstantFoldPass.cpp
    M mlir/test/Dialect/Tosa/constant-op-fold.mlir

  Log Message:
  -----------
  [mlir][tosa] Add aggressiveReduceConstant argument for the constant reduce optimization (#68765)

Adding the argument of aggressiveReduceConstant to the
TosaLayerwiseConstantFoldPass which would
allow performing the constant optimizations on the reduce ops always.
(e.g. without considering the
number of users of the input of the reduce operation)




More information about the All-commits mailing list