[all-commits] [llvm/llvm-project] f685c9: [MLIR][TOSA] Lower tosa.identity and tosa.identiti...

rsuderman via All-commits all-commits at lists.llvm.org
Fri Feb 26 15:53:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f685c9ac8647daeb425b05ffb9c555ccfc7ec78b
      https://github.com/llvm/llvm-project/commit/f685c9ac8647daeb425b05ffb9c555ccfc7ec78b
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  [MLIR][TOSA] Lower tosa.identity and tosa.identitiyn to linalg

Both identity ops can be loweried by replacing their results with their
inputs. We keep this as a linalg lowering as other backends may choose to
create copies.

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




More information about the All-commits mailing list