[llvm] [BOLT][NFC] Hide pass print options (PR #67718)
Vladislav Khmelevsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 11:14:25 PDT 2023
https://github.com/yota9 updated https://github.com/llvm/llvm-project/pull/67718
>From 96b23a0c57bdfe284a1e3f0f7a815cc0a85edb41 Mon Sep 17 00:00:00 2001
From: Vladislav Khmelevsky <och95 at yandex.ru>
Date: Thu, 28 Sep 2023 21:59:54 +0400
Subject: [PATCH] [BOLT][NFC] Hide pass print options
Most of the print options are hidden, make hidden them all.
---
bolt/lib/Rewrite/BinaryPassManager.cpp | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/bolt/lib/Rewrite/BinaryPassManager.cpp b/bolt/lib/Rewrite/BinaryPassManager.cpp
index 517984d990fc5a3..cd27c71ba2aedf2 100644
--- a/bolt/lib/Rewrite/BinaryPassManager.cpp
+++ b/bolt/lib/Rewrite/BinaryPassManager.cpp
@@ -111,7 +111,7 @@ static cl::opt<bool>
static cl::opt<bool> PrintJTFootprintReduction(
"print-after-jt-footprint-reduction",
- cl::desc("print function after jt-footprint-reduction pass"),
+ cl::desc("print function after jt-footprint-reduction pass"), cl::Hidden,
cl::cat(BoltOptCategory));
static cl::opt<bool>
@@ -160,7 +160,7 @@ static cl::opt<bool>
static cl::opt<bool> PrintRetpolineInsertion(
"print-retpoline-insertion",
- cl::desc("print functions after retpoline insertion pass"),
+ cl::desc("print functions after retpoline insertion pass"), cl::Hidden,
cl::cat(BoltCategory));
static cl::opt<bool> PrintSCTC(
@@ -179,21 +179,21 @@ static cl::opt<bool>
static cl::opt<bool>
PrintStoke("print-stoke", cl::desc("print functions after stoke analysis"),
- cl::cat(BoltOptCategory));
+ cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<bool>
PrintFixRelaxations("print-fix-relaxations",
cl::desc("print functions after fix relaxations pass"),
- cl::cat(BoltOptCategory));
+ cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<bool>
PrintFixRISCVCalls("print-fix-riscv-calls",
cl::desc("print functions after fix RISCV calls pass"),
- cl::cat(BoltOptCategory));
+ cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<bool> PrintVeneerElimination(
"print-veneer-elimination",
- cl::desc("print functions after veneer elimination pass"),
+ cl::desc("print functions after veneer elimination pass"), cl::Hidden,
cl::cat(BoltOptCategory));
static cl::opt<bool>
More information about the llvm-commits
mailing list