[Mlir-commits] [mlir] [mlir][vector] Refactor vector-transfer-flatten.mlir (nfc) (3/n) (PR #95745)

Hugo Trachino llvmlistbot at llvm.org
Thu Jun 20 02:23:20 PDT 2024


================
@@ -131,10 +131,42 @@ func.func @transfer_read_dims_mismatch_non_contiguous_non_zero_indices(
 
 // -----
 
+/// The leading dynamic shapes don't affect whether this example is flattenable
+/// or not as those dynamic shapes are not candidates for flattening anyway.
+
+func.func @transfer_read_leading_dynamic_dims(
+    %arg : memref<?x?x8x4xi8, strided<[?, 32, 4, 1], offset: ?>>,
+    %idx_1 : index,
----------------
nujaa wrote:

NIT: As part of unifying variable names, `transfer_read_dims_mismatch_non_contiguous_non_zero_indices`'s indices args start from 0 and do not have an `_`.  `idx0 : index` 

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


More information about the Mlir-commits mailing list