Skip to content

Commit 86f35da

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in LinalgTransformOps.cpp (NFC)
1 parent a8abf81 commit 86f35da

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ enum class OuterOrInnerPerm { Outer = 0, Inner = 1 };
19581958
/// Return true if either `op` or `permutation` are empty to allow a simpler
19591959
/// polymorphic implementation.
19601960
template <typename RelayoutOpTy>
1961-
bool isValidPackingPermutation(
1961+
static bool isValidPackingPermutation(
19621962
RelayoutOpTy op, ArrayRef<int64_t> permutation,
19631963
OuterOrInnerPerm outerOrInnerPerm = OuterOrInnerPerm::Outer) {
19641964
static_assert(
@@ -4322,9 +4322,10 @@ DiagnosedSilenceableFailure transform::TransposeMatmulOp::applyToOne(
43224322
// InsertSliceToCopyOp
43234323
//===----------------------------------------------------------------------===//
43244324
template <typename OpTy>
4325-
DiagnosedSilenceableFailure doit(RewriterBase &rewriter, OpTy target,
4326-
transform::ApplyToEachResultList &results,
4327-
transform::TransformState &state) {
4325+
static DiagnosedSilenceableFailure
4326+
doit(RewriterBase &rewriter, OpTy target,
4327+
transform::ApplyToEachResultList &results,
4328+
transform::TransformState &state) {
43284329
static_assert(llvm::is_one_of<OpTy, tensor::InsertSliceOp,
43294330
tensor::ParallelInsertSliceOp>() &&
43304331
"wrong op type");

0 commit comments

Comments
 (0)