[all-commits] [llvm/llvm-project] 550ea3: [mlir] Remove unnecessary canonicalization from L...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Mon Jan 3 07:34:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 550ea385abc2805fd3e0a539bf55bc82edb5c13e
      https://github.com/llvm/llvm-project/commit/550ea385abc2805fd3e0a539bf55bc82edb5c13e
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2022-01-03 (Mon, 03 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
    M mlir/test/Dialect/Linalg/detensorize_0d.mlir
    M mlir/test/Dialect/Linalg/detensorize_br_operands.mlir
    M mlir/test/Dialect/Linalg/detensorize_if.mlir
    M mlir/test/Dialect/Linalg/detensorize_trivial.mlir
    M mlir/test/Dialect/Linalg/detensorize_while.mlir
    M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir

  Log Message:
  -----------
   [mlir] Remove unnecessary canonicalization from Linalg Detensorize.cpp

After https://reviews.llvm.org/D115821 it became possible to create
`tensor<elem_type>` with a single `tensor.from_elements` operation without
collapsing tensor shape from `tensor<1xelem_type>` to `tensor<elem_type>`

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




More information about the All-commits mailing list