[all-commits] [llvm/llvm-project] 25df9f: [mlir][tensor] Remove unit-stride restriction in I...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Fri Apr 17 18:18:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25df9f28c4abe2a803407c18b8cb43b530f48d4d
      https://github.com/llvm/llvm-project/commit/25df9f28c4abe2a803407c18b8cb43b530f48d4d
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/FoldTensorSubsetOps.cpp
    M mlir/test/Dialect/Tensor/fold-tensor-subset-ops.mlir

  Log Message:
  -----------
  [mlir][tensor] Remove unit-stride restriction in InsertSliceOp folding  (#192600)

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