[Mlir-commits] [mlir] [mlir][vector] Add pattern for dropping unit dims from for loops (PR #109585)
Quinn Dawkins
llvmlistbot at llvm.org
Thu Sep 26 15:39:24 PDT 2024
================
@@ -207,3 +207,78 @@ func.func @negative_transpose_with_no_unit_dims(%vec: vector<4x2x3xf32>) -> vect
// CHECK-LABEL: func.func @negative_transpose_with_no_unit_dims
// CHECK-NOT: vector.shape_cast
+
+// -----
+
+///----------------------------------------------------------------------------------------
+/// [Pattern: DropUnitDimsFromScfForOp]
+///----------------------------------------------------------------------------------------
----------------
qedawkins wrote:
I added one with `vector<1x[1]>`. Were there any other tests you had in mind?
https://github.com/llvm/llvm-project/pull/109585
More information about the Mlir-commits
mailing list