[Mlir-commits] [mlir] [MLIR][Linalg] pack, unpack to take memref inputs (PR #129036)

Hyunsung Lee llvmlistbot at llvm.org
Sun Mar 30 02:03:44 PDT 2025


ita9naiwa wrote:

> I want to know how to track down all the patterns related to Tensor Pack/UnPack Ops

I tracked down with grep matching `linalg::PackOp` and `linalg::UnPackOp`.

I bailed out transformations and rewrite patterns using e.g., 

```C++
// TODO(issues/129004): Support MemRef PackOp. Temporarily return failure.
  if (!packOp.hasPureTensorSemantics()) {
    return failure();
  }
```

https://github.com/llvm/llvm-project/pull/129036


More information about the Mlir-commits mailing list