[all-commits] [llvm/llvm-project] fe1604: [mlir][memref] Improve `memref.subview` type infer...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun Jun 23 01:46:53 PDT 2024


  Branch: refs/heads/users/matthias-springer/memref_subview_type
  Home:   https://github.com/llvm/llvm-project
  Commit: fe160460d5d365e719a961ba02d5064ea60b3faf
      https://github.com/llvm/llvm-project/commit/fe160460d5d365e719a961ba02d5064ea60b3faf
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/Linalg/promote.mlir
    M mlir/test/Dialect/Linalg/transform-promotion.mlir
    M mlir/test/Dialect/MemRef/canonicalize.mlir
    M mlir/test/Dialect/MemRef/subview.mlir
    M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
    M mlir/test/Dialect/Vector/vector-transferop-opt.mlir
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [mlir][memref] Improve `memref.subview` type inference

The `memref.subview` result type inference (`SubViewOp::inferResultType`) sometimes used to produce a dynamic offset when a static offset is possible.

The new result type inference implementation produces memref types with more static type information.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list