[all-commits] [llvm/llvm-project] b00690: [mlir] Fold trivial subtensor / subtensor_insert ops.

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu Feb 18 13:42:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b006902b2dfac792e8ade73798ca1b216654faf7
      https://github.com/llvm/llvm-project/commit/b006902b2dfac792e8ade73798ca1b216654faf7
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-02-18 (Thu, 18 Feb 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/Dialect/Standard/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Fold trivial subtensor / subtensor_insert ops.

Static subtensor / subtensor_insert of the same size as the source / destination tensor and root @[0..0] with strides [1..1] are folded away.

Differential revision: https://reviews.llvm.org/D96991




More information about the All-commits mailing list