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

Mehdi Amini llvmlistbot at llvm.org
Sun Sep 28 04:30:00 PDT 2025


Author: Mehdi Amini
Date: 2025-09-28T04:29:19-07:00
New Revision: 062c0fcf4b8b29a12191d782f4e23623cef061db

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

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

Added: 
    

Modified: 
    mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp b/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
index 1037e296c8128..a73afbcb6474b 100644
--- a/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
+++ b/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
@@ -663,7 +663,7 @@ static IntegerAttr wrapNumericMemorySpace(MLIRContext *ctx, unsigned space) {
 
 /// Generates a symbol with 0-sized array type for dynamic shared memory usage,
 /// or uses existing symbol.
-LLVM::GlobalOp getDynamicSharedMemorySymbol(
+static LLVM::GlobalOp getDynamicSharedMemorySymbol(
     ConversionPatternRewriter &rewriter, gpu::GPUModuleOp moduleOp,
     gpu::DynamicSharedMemoryOp op, const LLVMTypeConverter *typeConverter,
     MemRefType memrefType, unsigned alignmentBit) {


        


More information about the Mlir-commits mailing list