[all-commits] [llvm/llvm-project] 98c529: [mlir][MemRef] Move the forwarding patterns for `e...

qcolombet via All-commits all-commits at lists.llvm.org
Tue Oct 18 15:35:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98c529652af413eba8df34642613ca5a0e87e52c
      https://github.com/llvm/llvm-project/commit/98c529652af413eba8df34642613ca5a0e87e52c
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/MemRef/Transforms/SimplifyExtractStridedMetadata.cpp
    M mlir/test/Dialect/MemRef/canonicalize.mlir
    M mlir/test/Dialect/MemRef/simplify-extract-strided-metadata.mlir

  Log Message:
  -----------
  [mlir][MemRef] Move the forwarding patterns for `extract_strided_metadata`

The `SimplifyExtractStridedMetadata` pass features a pattern that forward
statically known information (offset, sizes, strides) to their respective
users.

This patch moves this pattern from this pass to the
`extract_strided_metadata` folding patterns.

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




More information about the All-commits mailing list