Skip to content

Commit e660c40

Browse files
committed
remove unnecessary changes
1 parent f716ccd commit e660c40

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ def MemRef_StoreOp : MemRef_Op<"store",
18011801
let summary = "store operation";
18021802
let description = [{
18031803
The `store` op stores an element into a memref at the specified indices.
1804-
1804+
18051805
The number of indices must match the rank of the memref. The indices must
18061806
be in-bounds: `0 <= idx < dim_size`
18071807

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// This file implements the Linalg operations.
1010
//
1111
//===----------------------------------------------------------------------===//
12+
1213
#include "mlir/Dialect/Linalg/IR/Linalg.h"
1314

1415
#include "mlir/AsmParser/AsmParser.h"

mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,12 @@ SmallVector<Range> SliceFromCollapseHelper::getExtractSliceParams(
315315
// have proven that these are not sliced. In this case we just take
316316
// the full extent of each dimension in the reassociation list.
317317
if (linearizedDimensions[it.index()]) {
318-
llvm::append_range(offsetsSizesAndStrides,
319-
llvm::map_range(it.value(), [&](int64_t idx) -> Range {
320-
return {zeroAttr, collapseShapeInputShape[idx],
321-
oneAttr};
322-
}));
318+
llvm::append_range(
319+
offsetsSizesAndStrides,
320+
llvm::map_range(it.value(), [&](int64_t idx) -> Range {
321+
return {zeroAttr, collapseShapeInputShape[idx], oneAttr};
322+
}));
323+
323324
continue;
324325
}
325326

mlir/test/Dialect/Linalg/canonicalize.mlir

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,8 +1737,6 @@ func.func @infer_and_fold_pack_unpack_same_tiles_memref(%t: memref<10x20x4x4xf32
17371737

17381738
// -----
17391739

1740-
// -----
1741-
17421740
func.func @fold_pack_unpack_memref(%arg0: memref<2x3xf32>, %arg1: memref<2x3xf32>) -> memref<2x3xf32> {
17431741
%c1 = arith.constant 1 : index
17441742
%c2 = arith.constant 2 : index

0 commit comments

Comments
 (0)