[all-commits] [llvm/llvm-project] dca74f: [mlir][memref] Revert #140730 (#141406)

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Sun May 25 09:47:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dca74f794ac426115c386c13e01b4fa868f43d3c
      https://github.com/llvm/llvm-project/commit/dca74f794ac426115c386c13e01b4fa868f43d3c
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2025-05-25 (Sun, 25 May 2025)

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

  Log Message:
  -----------
  [mlir][memref] Revert #140730 (#141406)

Reverts #140730 - that turned out not to be an NFC as we originally
thought. See the attached test for an example. Many thanks to @Garra1980
for reporting!

Note, without this change, the newly added test would be incorrectly
converted to:
```mlir
  func.func @view_memref_as_rank0(%arg0: index, %arg1: memref<2xi8>) {
    %0 = llvm.mlir.poison : !llvm.struct<(ptr, ptr, i64)>
    return
  }
```



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