From 71f4c7dabec0f32b2d475e8e08f0da99628a067c Mon Sep 17 00:00:00 2001 From: chrisPyr <32153107+chrisPyr@users.noreply.github.com> Date: Mon, 3 Mar 2025 14:46:33 +0800 Subject: [NFC]Make file-local cl::opt global variables static (#126486) #125983 --- llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp') diff --git a/llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp b/llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp index 0ffbc90d..c135fe1 100644 --- a/llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp +++ b/llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp @@ -30,12 +30,12 @@ cl::opt EnableDetailedFunctionProperties( "enable-detailed-function-properties", cl::Hidden, cl::init(false), cl::desc("Whether or not to compute detailed function properties.")); -cl::opt BigBasicBlockInstructionThreshold( +static cl::opt BigBasicBlockInstructionThreshold( "big-basic-block-instruction-threshold", cl::Hidden, cl::init(500), cl::desc("The minimum number of instructions a basic block should contain " "before being considered big.")); -cl::opt MediumBasicBlockInstructionThreshold( +static cl::opt MediumBasicBlockInstructionThreshold( "medium-basic-block-instruction-threshold", cl::Hidden, cl::init(15), cl::desc("The minimum number of instructions a basic block should contain " "before being considered medium-sized.")); -- cgit v1.1