[all-commits] [llvm/llvm-project] 126e7e: [tosa] Add option to disable tosa.apply_scale lowe...

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Apr 4 12:29:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 126e7eaf0d4ea8033a376e47636db8e4c33cfeba
      https://github.com/llvm/llvm-project/commit/126e7eaf0d4ea8033a376e47636db8e4c33cfeba
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/include/mlir/Conversion/TosaToArith/TosaToArith.h
    R mlir/include/mlir/Conversion/TosaToStandard/TosaToStandard.h
    A mlir/include/mlir/Conversion/TosaToTensor/TosaToTensor.h
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/TosaToArith/CMakeLists.txt
    A mlir/lib/Conversion/TosaToArith/TosaToArith.cpp
    A mlir/lib/Conversion/TosaToArith/TosaToArithPass.cpp
    R mlir/lib/Conversion/TosaToStandard/CMakeLists.txt
    R mlir/lib/Conversion/TosaToStandard/TosaToStandard.cpp
    R mlir/lib/Conversion/TosaToStandard/TosaToStandardPass.cpp
    A mlir/lib/Conversion/TosaToTensor/CMakeLists.txt
    A mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    A mlir/lib/Conversion/TosaToTensor/TosaToTensorPass.cpp
    A mlir/test/Conversion/TosaToArith/tosa-to-arith.mlir
    R mlir/test/Conversion/TosaToStandard/tosa-to-standard.mlir
    A mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [tosa] Add option to disable tosa.apply_scale lowering in TosaToStandard

Apply scale should be optionally disabled when lowering via TosaToStandard.
In most cases it should persist until the lowering to specific backend.

Reviewed By: jpienaar

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




More information about the All-commits mailing list