[all-commits] [llvm/llvm-project] b5a1de: [mlir][tosa] Add broadcasting case for tosa.resize...
Rob Suderman via All-commits
all-commits at lists.llvm.org
Tue Jan 3 14:30:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b5a1de9c983d5ddaa6f3d1bf96a0896555844eb2
https://github.com/llvm/llvm-project/commit/b5a1de9c983d5ddaa6f3d1bf96a0896555844eb2
Author: Rob Suderman <suderman at google.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-resize.mlir
Log Message:
-----------
[mlir][tosa] Add broadcasting case for tosa.resize to linalg implementation
When lowering tosa.resize it is possible there is an unary input dimension.
Lowering to a new tosa.resize and explicit broadcast simplifies the
tosa.resize operation to avoid recomputing the identical broadcasted values.
This change reworks the broadcast optimization reuse the tosa.resize generic
implementation.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D139963
More information about the All-commits
mailing list