[Mlir-commits] [mlir] fe383fa - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in TileUsingInterface.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Mon Mar 23 05:57:11 PDT 2026


Author: Mehdi Amini
Date: 2026-03-23T05:54:13-07:00
New Revision: fe383fa6cf9c4cf1dffb77f2c597d50e4f78fc69

URL: https://github.com/llvm/llvm-project/commit/fe383fa6cf9c4cf1dffb77f2c597d50e4f78fc69
DIFF: https://github.com/llvm/llvm-project/commit/fe383fa6cf9c4cf1dffb77f2c597d50e4f78fc69.diff

LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in TileUsingInterface.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
index 2ec51ec2d763c..963e2d6d4f37b 100644
--- a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
@@ -900,7 +900,7 @@ mergeTilingResults(RewriterBase &rewriter, TilingInterface op,
 /// and sizes at which the tiled value is inserted into the
 /// new region iter_args that correspond to the newly added init operands.
 template <typename LoopType>
-FailureOr<LoopLikeOpInterface>
+static FailureOr<LoopLikeOpInterface>
 yieldTiledValuesAndReplaceLoop(LoopType loopOp, RewriterBase &rewriter,
                                ValueRange newInitOperands,
                                YieldTiledValuesFn yieldTiledValuesFn) {
@@ -1018,7 +1018,7 @@ FailureOr<LoopLikeOpInterface> yieldTiledValuesAndReplaceLoop<scf::ForallOp>(
 /// Implementation of `yieldTiledValuesAndReplaceLoop` for
 /// `LoopLikeOpInterface`, that just dispatches to the implementation for each
 /// supported loop type.
-FailureOr<LoopLikeOpInterface> yieldTiledValuesAndReplaceLoop(
+static FailureOr<LoopLikeOpInterface> yieldTiledValuesAndReplaceLoop(
     LoopLikeOpInterface loopLikeOp, RewriterBase &rewriter,
     ValueRange newInitOperands, YieldTiledValuesFn yieldTiledValuesFn) {
   return TypeSwitch<Operation *, FailureOr<LoopLikeOpInterface>>(


        


More information about the Mlir-commits mailing list