[Mlir-commits] [mlir] [mlir][vector] Use inferRankReducedResultType for subview type inference. (PR #84395)
Han-Chung Wang
llvmlistbot at llvm.org
Tue Mar 12 09:05:31 PDT 2024
================
@@ -169,3 +169,27 @@ func.func @non_unit_strides(%arg0: memref<512x16x1xf32, strided<[8192, 16, 4], o
// The inner most unit dims can not be dropped if the strides are not ones.
// CHECK: func.func @non_unit_strides
// CHECK-NOT: memref.subview
+
+// -----
+
+func.func @contiguous_outer_dyn_inner_most_view2(%a: index, %b: index, %memref: memref<?x?x8x1xf32>) -> vector<8x1xf32> {
----------------
hanhanW wrote:
SGTM, I think updating the test covers the needs, and it is a more robust test.
https://github.com/llvm/llvm-project/pull/84395
More information about the Mlir-commits
mailing list