Skip to content

Commit 21d8a4e

Browse files
committed
Address comments
1 parent 01c15f2 commit 21d8a4e

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

llvm/include/llvm/Transforms/Instrumentation/MemProfInstrumentation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ class ModuleMemProfilerPass : public PassInfoMixin<ModuleMemProfilerPass> {
4444

4545
} // namespace llvm
4646

47-
#endif
47+
#endif

llvm/include/llvm/Transforms/Instrumentation/MemProfUse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ computeUndriftMap(Module &M, IndexedInstrProfReader *MemProfReader,
6666
} // namespace memprof
6767
} // namespace llvm
6868

69-
#endif
69+
#endif

llvm/lib/Transforms/Instrumentation/MemProfInstrumentation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,4 +655,4 @@ bool MemProfiler::instrumentFunction(Function &F) {
655655
<< F << "\n");
656656

657657
return FunctionModified;
658-
}
658+
}

llvm/lib/Transforms/Instrumentation/MemProfUse.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ namespace llvm {
4343
extern cl::opt<bool> PGOWarnMissing;
4444
extern cl::opt<bool> NoPGOWarnMismatch;
4545
extern cl::opt<bool> NoPGOWarnMismatchComdatWeak;
46-
extern cl::opt<bool> MemProfReportHintedSizes;
47-
extern cl::opt<unsigned> MinClonedColdBytePercent;
48-
extern cl::opt<unsigned> MinCallsiteColdBytePercent;
4946
} // namespace llvm
5047

5148
// By default disable matching of allocation profiles onto operator new that
@@ -739,4 +736,4 @@ PreservedAnalyses MemProfUsePass::run(Module &M, ModuleAnalysisManager &AM) {
739736
}
740737

741738
return PreservedAnalyses::none();
742-
}
739+
}

0 commit comments

Comments
 (0)