[all-commits] [llvm/llvm-project] 2d0ba5: [mlir][tosa] Fix tosa.reshape failures due to impl...
rsuderman via All-commits
all-commits at lists.llvm.org
Thu Jul 29 15:23:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2d0ba5e1446f0025603bbe064090737c5510bcf4
https://github.com/llvm/llvm-project/commit/2d0ba5e1446f0025603bbe064090737c5510bcf4
Author: Rob Suderman <rob.suderman at gmail.com>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaMakeBroadcastable.cpp
M mlir/test/Dialect/Tosa/broadcast.mlir
Log Message:
-----------
[mlir][tosa] Fix tosa.reshape failures due to implicit broadcasting
Make broadcastable needs the output shape to determine whether the operation
includes additional broadcasting. Include some canonicalizations for TOSA
to remove unneeded reshape.
Reviewed By: NatashaKnk
Differential Revision: https://reviews.llvm.org/D106846
More information about the All-commits
mailing list