Skip to content

Commit 2d3b54f

Browse files
committed
[mlir][tensor] NFC: name various Transforms/ files consistently
Use a suffix to make clear what the contents inside each file are. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D134202
1 parent 5d4603a commit 2d3b54f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
add_mlir_dialect_library(MLIRTensorTransforms
22
BufferizableOpInterfaceImpl.cpp
33
Bufferize.cpp
4-
ExtractSliceFromReshape.cpp
4+
ExtractSliceFromReshapeUtils.cpp
55
MergeConsecutiveInsertExtractSlicePatterns.cpp
6-
SplitPadding.cpp
7-
SwapExtractSliceWithProducer.cpp
6+
SplitPaddingPatterns.cpp
7+
SwapExtractSliceWithProducerPatterns.cpp
88

99
ADDITIONAL_HEADER_DIRS
1010
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Tensor/Transforms

mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshape.cpp renamed to mlir/lib/Dialect/Tensor/Transforms/ExtractSliceFromReshapeUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- ExtractSliceFromReshape.cpp - Slice reshape rewrites-------*- C++-*-===//
1+
//===- ExtractSliceFromReshapeUtils.cpp - Slice reshape rewrites ----------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

mlir/lib/Dialect/Tensor/Transforms/SplitPadding.cpp renamed to mlir/lib/Dialect/Tensor/Transforms/SplitPaddingPatterns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- SplitPadding.cpp - Splitting tensor.pad Op -------------------------===//
1+
//===- SplitPaddingPatterns.cpp - Splitting tensor.pad Op -----------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducer.cpp renamed to mlir/lib/Dialect/Tensor/Transforms/SwapExtractSliceWithProducerPatterns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- SwapExtractSliceWithProducer.cpp - Swapping `tensor.extract_slice` ---=//
1+
//===- SwapExtractSliceWithProducerPatterns.cpp ---------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)