[all-commits] [llvm/llvm-project] 78503e: [mlir][tosa] Refactor tosa.resize
Rob Suderman via All-commits
all-commits at lists.llvm.org
Mon Dec 12 14:39:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78503e1a2f505ab4e7008d7df81eca76a546d203
https://github.com/llvm/llvm-project/commit/78503e1a2f505ab4e7008d7df81eca76a546d203
Author: Rob Suderman <suderman at google.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
A mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
R mlir/include/mlir/Dialect/Tosa/Utils/CoversionUtils.h
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-resize.mlir
Log Message:
-----------
[mlir][tosa] Refactor tosa.resize
Moved to using helper lambdas to avoid code repetition. IR needed to be reordered to
accommodate which should be the only changes to the existing tests.
This changes the quantized test to target `i48` types to guarantee types are extended
correctly when necessary.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D136500
More information about the All-commits
mailing list