[Mlir-commits] [mlir] [mlir][vector] Use inferRankReducedResultType for subview type inference. (PR #84395)
Benjamin Maxwell
llvmlistbot at llvm.org
Fri Mar 8 09:39:06 PST 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> {
----------------
MacDue wrote:
(this was the test case that failed before, because the input memref was not strided, I think)
https://github.com/llvm/llvm-project/pull/84395
More information about the Mlir-commits
mailing list