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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Jul 21 09:44:16 PDT 2024


Author: Andrzej WarzyƄski
Date: 2024-07-21T17:44:12+01:00
New Revision: 14a543ea2a1ae0d9e772a34a4e5a87dcc33d5e0f

URL: https://github.com/llvm/llvm-project/commit/14a543ea2a1ae0d9e772a34a4e5a87dcc33d5e0f
DIFF: https://github.com/llvm/llvm-project/commit/14a543ea2a1ae0d9e772a34a4e5a87dcc33d5e0f.diff

LOG: [mlir][test] Add comments in a test (nfc) (#99810)

Documents which patterns are tested in:
  * vector-transfer-collapse-inner-most-dims.mlir.

Added: 
    

Modified: 
    mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir

Removed: 
    


################################################################################
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