[llvm] [BOLT][NFC] Hide pass print options (PR #67718)
Vladislav Khmelevsky via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 11:00:59 PDT 2023
https://github.com/yota9 created https://github.com/llvm/llvm-project/pull/67718
Most of the print options are hidden, make hidden them all.
>From 627c480743c5b8d8a862e5701f6911668f830b0a 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..407717ea4453462 100644
--- a/bolt/lib/Rewrite/BinaryPassManager.cpp
+++ b/bolt/lib/Rewrite/BinaryPassManager.cpp
@@ -112,7 +112,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::cat(BoltOptCategory));
+ cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<bool>
PrintLongJmp("print-longjmp",
@@ -161,7 +161,7 @@ static cl::opt<bool>
static cl::opt<bool> PrintRetpolineInsertion(
"print-retpoline-insertion",
cl::desc("print functions after retpoline insertion pass"),
- cl::cat(BoltCategory));
+ cl::Hidden, cl::cat(BoltCategory));
static cl::opt<bool> PrintSCTC(
"print-sctc",
@@ -179,22 +179,22 @@ 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::cat(BoltOptCategory));
+ cl::Hidden, cl::cat(BoltOptCategory));
static cl::opt<bool>
PrintUCE("print-uce",
More information about the llvm-commits
mailing list