[all-commits] [llvm/llvm-project] 325426: [mlir][MemRef] Introduce a memref.extract_metadata...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Aug 26 09:09:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 325426d72ce50c35e52ce801dcbfabc4a5a2afb3
      https://github.com/llvm/llvm-project/commit/325426d72ce50c35e52ce801dcbfabc4a5a2afb3
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/test/Dialect/MemRef/ops.mlir

  Log Message:
  -----------
  [mlir][MemRef] Introduce a memref.extract_metadata op.

This is the counterpart of `memref.reinterpret_cast` and is useful to lift
strided memref manipulation out of the LLVM dialect.

Discussion: https://discourse.llvm.org/t/extracting-dynamic-offsets-strides-from-memref/64170

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




More information about the All-commits mailing list