[Mlir-commits] [mlir] 86f35da - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in LinalgTransformOps.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Oct 30 21:48:51 PDT 2025
Author: Mehdi Amini
Date: 2025-10-30T21:44:21-07:00
New Revision: 86f35da690a56df8cf510f9766d593b86f176948
URL: https://github.com/llvm/llvm-project/commit/86f35da690a56df8cf510f9766d593b86f176948
DIFF: https://github.com/llvm/llvm-project/commit/86f35da690a56df8cf510f9766d593b86f176948.diff
LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in LinalgTransformOps.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp b/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
index b09112bcf0bb7..3a433825fd31a 100644
--- a/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
+++ b/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
@@ -1958,7 +1958,7 @@ enum class OuterOrInnerPerm { Outer = 0, Inner = 1 };
/// Return true if either `op` or `permutation` are empty to allow a simpler
/// polymorphic implementation.
template <typename RelayoutOpTy>
-bool isValidPackingPermutation(
+static bool isValidPackingPermutation(
RelayoutOpTy op, ArrayRef<int64_t> permutation,
OuterOrInnerPerm outerOrInnerPerm = OuterOrInnerPerm::Outer) {
static_assert(
@@ -4322,9 +4322,10 @@ DiagnosedSilenceableFailure transform::TransposeMatmulOp::applyToOne(
// InsertSliceToCopyOp
//===----------------------------------------------------------------------===//
template <typename OpTy>
-DiagnosedSilenceableFailure doit(RewriterBase &rewriter, OpTy target,
- transform::ApplyToEachResultList &results,
- transform::TransformState &state) {
+static DiagnosedSilenceableFailure
+doit(RewriterBase &rewriter, OpTy target,
+ transform::ApplyToEachResultList &results,
+ transform::TransformState &state) {
static_assert(llvm::is_one_of<OpTy, tensor::InsertSliceOp,
tensor::ParallelInsertSliceOp>() &&
"wrong op type");
More information about the Mlir-commits
mailing list