diff --git a/polly/lib/CodeGen/PerfMonitor.cpp b/polly/lib/CodeGen/PerfMonitor.cpp index 0829934a07d5..971263fad0cb 100644 --- a/polly/lib/CodeGen/PerfMonitor.cpp +++ b/polly/lib/CodeGen/PerfMonitor.cpp @@ -78,7 +78,7 @@ static void TryRegisterGlobal(Module *M, const char *Name, *Location = new GlobalVariable( *M, InitialValue->getType(), true, GlobalValue::WeakAnyLinkage, InitialValue, Name, nullptr, GlobalVariable::InitialExecTLSModel); -}; +} // Generate a unique name that is usable as a LLVM name for a scop to name its // performance counter.