[all-commits] [llvm/llvm-project] 43e1fc: [mlir][tosa] Fold tosa.reshape with splat values

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Aug 29 17:20:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43e1fc58dd1f4524ea518f920dbe91924927ce4d
      https://github.com/llvm/llvm-project/commit/43e1fc58dd1f4524ea518f920dbe91924927ce4d
  Author: Rob Suderman <suderman at google.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/constant-op-fold.mlir

  Log Message:
  -----------
  [mlir][tosa] Fold tosa.reshape with splat values

Folding reshapes of splats is trivial and should be canonicalized
away.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list