[all-commits] [llvm/llvm-project] 295a6e: [TOSA] Fold consecutive concats on same axis
Dominik Montada via All-commits
all-commits at lists.llvm.org
Wed May 24 03:02:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 295a6ed5d54aca2d923b76b6388f9732eb37f548
https://github.com/llvm/llvm-project/commit/295a6ed5d54aca2d923b76b6388f9732eb37f548
Author: Dominik Montada <dominik.montada at amd.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
A mlir/test/Dialect/Tosa/fold_concats.mlir
Log Message:
-----------
[TOSA] Fold consecutive concats on same axis
Consecutive concats that happen on the same axis can be folded into a
single, bigger concat. This patch implements this folding by
implementing the tosa::ConcatOp::fold method.
Differential Revision: https://reviews.llvm.org/D151210
More information about the All-commits
mailing list