[all-commits] [llvm/llvm-project] 9478bf: [mlir] Introduce `trailingNDimsContiguous` for Mem...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Sat Feb 17 00:47:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9478bf0ce625a5845139b0c9e3bb41ef88d2f005
      https://github.com/llvm/llvm-project/commit/9478bf0ce625a5845139b0c9e3bb41ef88d2f005
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-02-17 (Sat, 17 Feb 2024)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinTypes.h
    M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
    M mlir/lib/IR/BuiltinTypes.cpp

  Log Message:
  -----------
  [mlir] Introduce `trailingNDimsContiguous` for MemRefs (#78247)

Extracts logic from `vector::isContiguousSlice` to check whether
the trailing dim of a memref are contiguous into a dedicated hook
in BuiitinTypes.{h|cpp}.

Follow-up for https://github.com/llvm/llvm-project/pull/76848.



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