Skip to content

Commit ce6d1d3

Browse files
authored
[Transform][Fusion] align file name with upstream (#348)
1 parent c94a772 commit ce6d1d3

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

lib/gc/Transforms/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ gc_add_mlir_library(GcPasses
1313
MemRefToCPURuntime.cpp
1414
OneDNNGraphToLinalg.cpp
1515
Pipeline.cpp
16+
TileUsingInterfaceX.cpp
1617
IterativeTilingAndFusion.cpp
17-
TilingUsingInterfaceX.cpp
1818
VerifyTargetDescription.cpp
1919
DecomposeAggregatedOps.cpp
2020
DeepTileContractionOp.cpp

lib/gc/Transforms/IterativeTilingAndFusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <memory>
3434
#include <unordered_map>
3535

36-
#include "TilingUsingInterfaceX.h"
36+
#include "TileUsingInterfaceX.h"
3737

3838
namespace mlir {
3939
namespace gc {

lib/gc/Transforms/Pipeline.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ void populateTensorPasses(mlir::OpPassManager &pm) {
5656
// linalg.matmul lowering to (scf.loop + linalg.brgemm) pass
5757
pm.addNestedPass<func::FuncOp>(createDeepTileContractionOp());
5858

59-
// Fine-grain fusion pass
59+
// fine-grain fusion pass
6060
pm.addNestedPass<func::FuncOp>(createIterativeTilingAndFusion());
61-
// todo: fine-grain fusion pass
61+
6262
pm.addNestedPass<func::FuncOp>(
6363
mlir::microkernel::createConvertLinalgToMicrokernel());
6464
// todo: lower linalg to arith/math on virtual vector pass

lib/gc/Transforms/TilingUsingInterfaceX.cpp renamed to lib/gc/Transforms/TileUsingInterfaceX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- TilingUsingInterfaceX.cpp - upstream eXtension ---------*- C++ -*-===//
1+
//===-- TileUsingInterfaceX.cpp - upstream eXtension ------------*- C++ -*-===//
22
//
33
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -26,7 +26,7 @@
2626
#include "llvm/Support/Debug.h"
2727
#include <optional>
2828

29-
#include "TilingUsingInterfaceX.h"
29+
#include "TileUsingInterfaceX.h"
3030

3131
#define DEBUG_TYPE "tile-using-interface-x"
3232

lib/gc/Transforms/TilingUsingInterfaceX.h renamed to lib/gc/Transforms/TileUsingInterfaceX.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
//===-- TilingUsingInterfaceX.h - upstream eXtension -----------*- C++ -*-===//
1+
//===-- TileUsingInterfaceX.h - upstream eXtension --------------*- C++ -*-===//
22
//
33
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef TEMPORARY_TILEUSINGINTERFACE_X_H
10-
#define TEMPORARY_TILEUSINGINTERFACE_X_H
9+
#ifndef TILE_USING_INTERFACE_X_H
10+
#define TILE_USING_INTERFACE_X_H
1111

1212
#include "mlir/Dialect/SCF/Transforms/TileUsingInterface.h"
1313

lib/gc/Transforms/TilingUtil.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#ifndef TEMPORARY_TILEUSINGINTERFACE_X_H
10-
#define TEMPORARY_TILEUSINGINTERFACE_X_H
9+
#ifndef TILING_UTIL_H
10+
#define TILING_UTIL_H
1111

1212
#include "mlir/Dialect/Linalg/IR/Linalg.h"
1313
#include "mlir/Dialect/Linalg/Transforms/Transforms.h"
@@ -16,7 +16,7 @@
1616
namespace mlir {
1717
namespace linalgX {
1818

19-
// An enahncement for the upstream pass to support tiling reduction for MKmk
19+
// An enhancement for the upstream pass to support tiling reduction for MKmk
2020
// like cases(with multiple reduction iterators).
2121
FailureOr<linalg::ForallReductionTilingResult> tileReductionUsingForall(
2222
RewriterBase &b, PartialReductionOpInterface op,

0 commit comments

Comments
 (0)