Skip to content

Commit bca4e87

Browse files
arsenmgithub-actions[bot]
authored andcommitted
Automerge: AMDGPU: Add missing static to cl::opt (#152747)
2 parents 7f4d623 + 0a0f077 commit bca4e87

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)