[llvm-branch-commits] [mlir] [MLIR] Fix incorrect slice contiguity inference in `vector::isContiguousSlice` (PR #142422)

James Newling via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 6 08:30:30 PDT 2025


================
@@ -585,5 +592,47 @@ func.func @negative_out_of_bound_transfer_write(
     vector<1x1x3x2xi8>, memref<?x4x3x2xi8, strided<[24, 6, 2, 1], offset: ?>>
   return
 }
-// CHECK:     func.func @negative_out_of_bound_transfer_write
-// CHECK-NOT:   memref.collapse_shape
+// CHECK-LABEL: func.func @negative_out_of_bound_transfer_write
+// CHECK-NOT:     memref.collapse_shape
----------------
newling wrote:

CHECK:   vector.shape_cast

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


More information about the llvm-branch-commits mailing list