[all-commits] [llvm/llvm-project] 9c62bb: Implementation of `ReshapeNoopOptimization` canoni...

Kojo Acquah via All-commits all-commits at lists.llvm.org
Tue Oct 19 16:08:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c62bb55f473a9d0db16b894708ed09f2346ae9d
      https://github.com/llvm/llvm-project/commit/9c62bb55f473a9d0db16b894708ed09f2346ae9d
  Author: Kojo Acquah <kooljblack at google.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  Implementation of `ReshapeNoopOptimization` canonicalizer.

This canonicalizer replaces reshapes of constant tensors that contain the updated shape (skipping the reshape operation).

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




More information about the All-commits mailing list