[llvm] a950616 - [SampleFDO] Remove redundant declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 23 08:58:19 PDT 2021
Author: Kazu Hirata
Date: 2021-09-23T08:58:08-07:00
New Revision: a95061691e43fd9a4216e60917715bdc58660d17
URL: https://github.com/llvm/llvm-project/commit/a95061691e43fd9a4216e60917715bdc58660d17
DIFF: https://github.com/llvm/llvm-project/commit/a95061691e43fd9a4216e60917715bdc58660d17.diff
LOG: [SampleFDO] Remove redundant declarations (NFC)
Note that these are declared in SampleProfileLoaderBaseUtil.h, which
SampleProfileLoaderBaseImpl.h includes.
Added:
Modified:
llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
index 2a510e69cf45f..6a2f0acf46f32 100644
--- a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
+++ b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
@@ -74,11 +74,6 @@ template <> struct IRTraits<BasicBlock> {
} // end namespace afdo_detail
-extern cl::opt<unsigned> SampleProfileMaxPropagateIterations;
-extern cl::opt<unsigned> SampleProfileRecordCoverage;
-extern cl::opt<unsigned> SampleProfileSampleCoverage;
-extern cl::opt<bool> NoWarnSampleUnused;
-
template <typename BT> class SampleProfileLoaderBaseImpl {
public:
SampleProfileLoaderBaseImpl(std::string Name, std::string RemapName)
More information about the llvm-commits
mailing list