[all-commits] [llvm/llvm-project] 200266: [mlir][MemRef] Fix the lowering of extract_strided...

qcolombet via All-commits all-commits at lists.llvm.org
Fri Nov 4 18:13:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 200266a0a12b0af77967c8770e1e1bdd634bfc4a
      https://github.com/llvm/llvm-project/commit/200266a0a12b0af77967c8770e1e1bdd634bfc4a
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2022-11-05 (Sat, 05 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/MemRefBuilder.h
    M mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir

  Log Message:
  -----------
  [mlir][MemRef] Fix the lowering of extract_strided_metadata

The first result of the extract_strided_metadata operation is a MemRef,
not a naked pointer.
This patch fixes the lowering of this operation in MemRefToLLVM so that
we properly materialize the full MemRef structure and not just the base,
naked, pointer.

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




More information about the All-commits mailing list