[all-commits] [llvm/llvm-project] 96acdf: [mlir][memref] Fold copy of cast

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jan 14 04:56:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96acdfa0de3e574453d3f62aa7a71397ac0120bb
      https://github.com/llvm/llvm-project/commit/96acdfa0de3e574453d3f62aa7a71397ac0120bb
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/Linalg/comprehensive-function-bufferize.mlir
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize-partial.mlir
    M mlir/test/Dialect/MemRef/canonicalize.mlir

  Log Message:
  -----------
  [mlir][memref] Fold copy of cast

If the source/dest is a cast that does not change shape/element type, the cast can be skipped.

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




More information about the All-commits mailing list