[Mlir-commits] [mlir] [mlir][ArmSME] Fold extracts from 3D create_masks of SME-like masks (PR #80148)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Jan 31 09:53:39 PST 2024


================
@@ -266,3 +266,39 @@ func.func @transpose_f32_scalable_4x16_via_write(%src: memref<?x?xf32>, %dest: m
   vector.transfer_write %0, %dest[%c0, %c0] {permutation_map = #transpose, in_bounds = [true, true]} : vector<[4]x[16]xf32>, memref<?x?xf32>
   return
 }
+
+// -----
+
+// CHECK-LABEL: @extract_from_vector_create_mask_non_constant_dim(
+// CHECK-SAME:                                                    %[[DIM0:[a-z0-9]+]]: index,
----------------
MacDue wrote:

Yeah, with `.*` it sometimes matches too much, but using a tighter regex like `[a-z0-9]+` avoids that (that's why I do that here).

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


More information about the Mlir-commits mailing list