[Mlir-commits] [mlir] [mlir][tensor] Add new helper hooks for RelayoutOp (PR #109642)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Sep 23 10:01:07 PDT 2024


================
@@ -3987,6 +3987,17 @@ SmallVector<int64_t> PackOp::getStaticTiles() {
   return getStaticTilesImpl(*this);
 }
 
+SmallVector<int64_t> PackOp::getTiledOuterDims() {
+  auto innerDimsPos = getInnerDimsPos();
----------------
banach-space wrote:

Oh, I've actually missed that - thanks for pointing it out! Also, I've realised that `getAllOuterDims` should be slightly different for `PackOp` and `UnPackOp`. Sending an update shortly.

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


More information about the Mlir-commits mailing list