diff --git a/compiler/lib/Dialect/SCF/Transforms/PassDetail.h b/compiler/lib/Dialect/SCF/Transforms/PassDetail.h index f728745e4..8a56f8ed3 100644 --- a/compiler/lib/Dialect/SCF/Transforms/PassDetail.h +++ b/compiler/lib/Dialect/SCF/Transforms/PassDetail.h @@ -29,7 +29,7 @@ class SCFDialect; namespace affine { class AffineDialect; -} // namepsace affine +} // namespace affine #define GEN_PASS_CLASSES #include "byteir/Dialect/SCF/Passes.h.inc" diff --git a/compiler/test/Dialect/SCF/forallTiling.mlir b/compiler/test/Dialect/SCF/forallTiling.mlir index 6add041b5..2b5c0b63d 100644 --- a/compiler/test/Dialect/SCF/forallTiling.mlir +++ b/compiler/test/Dialect/SCF/forallTiling.mlir @@ -66,4 +66,4 @@ func.func @Elementwise(%arg0: memref<32x1024x?x30xf32>) -> memref<32768x?x30xf32 // CHECK-NEXT: %[[V5:.*]] = arith.remsi %[[V4]], %[[DIM]] : index // CHECK-NEXT: %[[V6:.*]] = arith.divsi %[[V4]], %[[DIM]] : index // CHECK-NEXT: %[[SUBVIEW:.*]] = memref.subview %[[COLLAPSE]][%[[V6]], %[[V5]], %[[V3]]] [1, 1, 1] [1, 1, 1] : memref<32768x?x30xf32> to memref<1x1x1xf32, strided<[300, 30, 1], offset: ?>> - // CHECK-NEXT: %[[SUBVIEW_0:.*]] = memref.subview %[[ALLOC]][%[[V6]], %[[V5]], %[[V3]]] [1, 1, 1] [1, 1, 1] : memref<32768x?x30xf32> to memref<1x1x1xf32, strided<[300, 30, 1], offset: ?>> \ No newline at end of file + // CHECK-NEXT: %[[SUBVIEW_0:.*]] = memref.subview %[[ALLOC]][%[[V6]], %[[V5]], %[[V3]]] [1, 1, 1] [1, 1, 1] : memref<32768x?x30xf32> to memref<1x1x1xf32, strided<[300, 30, 1], offset: ?>>