[llvm] 30d3f56 - [Analysis] clang-format InlineAdvisor.cpp (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 13:38:55 PDT 2022
Author: Kazu Hirata
Date: 2022-07-13T13:38:50-07:00
New Revision: 30d3f56e3346cd78ebe103542d224d901635a557
URL: https://github.com/llvm/llvm-project/commit/30d3f56e3346cd78ebe103542d224d901635a557
DIFF: https://github.com/llvm/llvm-project/commit/30d3f56e3346cd78ebe103542d224d901635a557.diff
LOG: [Analysis] clang-format InlineAdvisor.cpp (NFC)
Added:
Modified:
llvm/lib/Analysis/InlineAdvisor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/InlineAdvisor.cpp b/llvm/lib/Analysis/InlineAdvisor.cpp
index cf8592c41eda2..3fafc3057a13e 100644
--- a/llvm/lib/Analysis/InlineAdvisor.cpp
+++ b/llvm/lib/Analysis/InlineAdvisor.cpp
@@ -56,10 +56,10 @@ static cl::opt<int>
cl::desc("Scale to limit the cost of inline deferral"),
cl::init(2), cl::Hidden);
-static cl::opt<bool> AnnotateInlinePhase(
- "annotate-inline-phase", cl::Hidden, cl::init(false),
- cl::desc("If true, annotate inline advisor remarks "
- "with LTO and pass information."));
+static cl::opt<bool>
+ AnnotateInlinePhase("annotate-inline-phase", cl::Hidden, cl::init(false),
+ cl::desc("If true, annotate inline advisor remarks "
+ "with LTO and pass information."));
extern cl::opt<InlinerFunctionImportStatsOpts> InlinerFunctionImportStats;
@@ -514,8 +514,9 @@ void llvm::emitInlinedIntoBasedOnCost(
InlineAdvisor::InlineAdvisor(Module &M, FunctionAnalysisManager &FAM,
Optional<InlineContext> IC)
: M(M), FAM(FAM), IC(IC),
- AnnotatedInlinePassName((IC && AnnotateInlinePhase) ? llvm::AnnotateInlinePassName(*IC)
- : DEBUG_TYPE) {
+ AnnotatedInlinePassName((IC && AnnotateInlinePhase)
+ ? llvm::AnnotateInlinePassName(*IC)
+ : DEBUG_TYPE) {
if (InlinerFunctionImportStats != InlinerFunctionImportStatsOpts::No) {
ImportedFunctionsStats =
std::make_unique<ImportedFunctionsInliningStatistics>();
More information about the llvm-commits
mailing list