[llvm] db7d2ab - [NFC] Fix helptext for opt/llc after https://reviews.llvm.org/D68411
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 2 20:38:15 PST 2020
Author: Shengchen Kan
Date: 2020-02-03T12:31:42+08:00
New Revision: db7d2ab03d9a7372e86abeec6b99e83c763dfa42
URL: https://github.com/llvm/llvm-project/commit/db7d2ab03d9a7372e86abeec6b99e83c763dfa42
DIFF: https://github.com/llvm/llvm-project/commit/db7d2ab03d9a7372e86abeec6b99e83c763dfa42.diff
LOG: [NFC] Fix helptext for opt/llc after https://reviews.llvm.org/D68411
Remove "cl::value_desc("jcc, fused, jmp, call, ret, indirect"),", which
makes the option+it's cl::value_desc too long in all of help.
Added:
Modified:
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index 3b4e49b9b3ab..dd0cf3705687 100644
--- a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@ -93,7 +93,6 @@ cl::opt<X86AlignBranchKind, true, cl::parser<std::string>> X86AlignBranch(
"\ncall indicates direct and indirect calls"
"\nret indicates rets"
"\nindirect indicates indirect unconditional jumps"),
- cl::value_desc("jcc, fused, jmp, call, ret, indirect"),
cl::location(X86AlignBranchKindLoc));
cl::opt<bool> X86AlignBranchWithin32BBoundaries(
More information about the llvm-commits
mailing list