[Mlir-commits] [mlir] [mlir][test] Add comments in a test (nfc) (PR #99810)

Andrzej WarzyƄski llvmlistbot at llvm.org
Sun Jul 21 05:38:59 PDT 2024


https://github.com/banach-space created https://github.com/llvm/llvm-project/pull/99810

Adds a note to document which patterns are tested in
  * vector-transfer-collapse-inner-most-dims.mlir.


>From 58b6c6ab795d883828fcc9ba942d7a7d2acd8b83 Mon Sep 17 00:00:00 2001
From: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: Sun, 21 Jul 2024 13:37:28 +0100
Subject: [PATCH] [mlir][test] Add comments in a test (nfc)

Adds a note to document which patterns are tested in
  * vector-transfer-collapse-inner-most-dims.mlir.
---
 .../Vector/vector-transfer-collapse-inner-most-dims.mlir        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir b/mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
index 3f36756fe95d7..cd56c1bf9695b 100644
--- a/mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
+++ b/mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
@@ -2,6 +2,7 @@
 
 //-----------------------------------------------------------------------------
 // 1. vector.transfer_read
+// [Pattern: DropInnerMostUnitDimsTransferRead]
 //-----------------------------------------------------------------------------
 
 func.func @contiguous_inner_most(%src: memref<1x1x8x1xf32, strided<[3072, 8, 1, 1], offset: ?>>) -> vector<1x8x1xf32>{
@@ -306,6 +307,7 @@ func.func @negative_non_unit_strides(%src: memref<512x16x1xf32, strided<[8192, 1
 
 //-----------------------------------------------------------------------------
 // 2. vector.transfer_write
+// [Pattern: DropInnerMostUnitDimsTransferWrite]
 //-----------------------------------------------------------------------------
 
 func.func @contiguous_inner_most(%dest: memref<1x512x16x1x1xf32>, %v: vector<1x16x16x1x1xf32>, %i: index) {



More information about the Mlir-commits mailing list