Skip to content

Commit 0a0f077

Browse files
authored
AMDGPU: Add missing static to cl::opt (llvm#152747)
1 parent 130ddbb commit 0a0f077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ using namespace llvm;
3333
// optimal RC for Opc and Dest of MFMA. In particular, there are high RP cases
3434
// where it is better to produce the VGPR form (e.g. if there are VGPR users
3535
// of the MFMA result).
36-
cl::opt<bool> MFMAVGPRForm(
36+
static cl::opt<bool> MFMAVGPRForm(
3737
"amdgpu-mfma-vgpr-form", cl::Hidden,
3838
cl::desc("Whether to force use VGPR for Opc and Dest of MFMA. If "
3939
"unspecified, default to compiler heuristics"),

0 commit comments

Comments
 (0)