Skip to content

Commit b7749ef

Browse files
authored
adding MLIRMemRefDialect (#117986)
fixing post-CI failures #104566
1 parent cf47898 commit b7749ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mlir/lib/Dialect/MPI/IR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ add_mlir_dialect_library(MLIRMPIDialect
1414
LINK_LIBS PUBLIC
1515
MLIRDialect
1616
MLIRIR
17+
MLIRMemRefDialect
1718
MLIRInferTypeOpInterface
1819
MLIRSideEffectInterfaces
1920
)

mlir/test/Conversion/MeshToMPI/convert-mesh-to-mpi.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func.func @update_halo_3d_tensor(
164164
// CHECK-NEXT: [[vc44_i32:%.*]] = arith.constant 44 : i32
165165
// CHECK-NEXT: [[vc4_i32:%.*]] = arith.constant 4 : i32
166166
// CHECK-NEXT: [[vc91_i32:%.*]] = arith.constant 91 : i32
167-
// CHECK-NEXT: [[v0:%.*]] = bufferization.to_memref [[varg0]] : memref<120x120x120xi8>
167+
// CHECK-NEXT: [[v0:%.*]] = bufferization.to_memref [[varg0]] : tensor<120x120x120xi8> to memref<120x120x120xi8>
168168
// CHECK-NEXT: [[valloc:%.*]] = memref.alloc() : memref<117x113x5xi8>
169169
// CHECK-NEXT: [[vsubview:%.*]] = memref.subview [[v0]][1, 3, 109] [117, 113, 5] [1, 1, 1] : memref<120x120x120xi8> to memref<117x113x5xi8, strided<[14400, 120, 1], offset: 14869>>
170170
// CHECK-NEXT: memref.copy [[vsubview]], [[valloc]] : memref<117x113x5xi8, strided<[14400, 120, 1], offset: 14869>> to memref<117x113x5xi8>

0 commit comments

Comments
 (0)