[all-commits] [llvm/llvm-project] 91fcda: [mlir][memref] Remove unit-stride restriction in S...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Apr 16 19:29:26 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91fcdab8983a5f014528949183e9992940404782
      https://github.com/llvm/llvm-project/commit/91fcdab8983a5f014528949183e9992940404782
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
    M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir

  Log Message:
  -----------
  [mlir][memref] Remove unit-stride restriction in SubViewOp folding  (#192437)

This PR replaces manual offset/size resolution with `affine::mergeOffsetsSizesAndStrides`, simplifying the code and extending subview-of-subview folding to support non-unit strides.



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