[all-commits] [llvm/llvm-project] 64f694: [mlir][tosa] Move tosa canonicalizers to optional ...

Aaron DeBattista via All-commits all-commits at lists.llvm.org
Thu Dec 16 23:36:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f694acaf9279c0902f2f150b48191fb91057fb
      https://github.com/llvm/llvm-project/commit/64f694acaf9279c0902f2f150b48191fb91057fb
  Author: Aaron DeBattista <aaron.debattista at arm.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Tosa/Transforms/TosaOptimization.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir
    A mlir/test/Dialect/Tosa/operation_optimization.mlir

  Log Message:
  -----------
  [mlir][tosa] Move tosa canonicalizers to optional optimization pass

TOSA's canonicalizers that change dense operations should be moved to a
seperate optimization pass to avoid canonicalizing to operations not supported
for relevant backends.

Reviewed By: rsuderman

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




More information about the All-commits mailing list