llvm-project/llvm/lib/Target/X86/MCTargetDesc
Nemanja Ivanovic 6cc6e89c11 Fix helptext for opt/llc after 14fc20ca6
The commit https://reviews.llvm.org/rG14fc20ca6 added some options to the X86
back end that cause the help text for opt/llc to become much harder to read.
The issue is that the cl::value_desc is part of the option name and is used to
compute the indentation of the description text (i.e. the maximum length option
name is what everything aligns to). Since the commit puts a large number of
characters into that text, everything is aligned to that width.

This patch just reformats the option so that the description is contained in the
description and the list of possible values is within the angle brackets.

Note: the readability issue of the helptext was fixed in commit
      70cbf8c71c, but the re-formatting wasn't
      added on that commit so I am still committing this.

Differential revision: https://reviews.llvm.org/D73267
2020-01-30 08:35:55 -06:00
..
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
LLVMBuild.txt [X86] Move InstPrinter files to MCTargetDesc. NFC 2019-05-10 23:24:38 +00:00
X86ATTInstPrinter.cpp [MC] Add parameter `Address` to MCInstrPrinter::printInstruction 2020-01-06 20:44:14 -08:00
X86ATTInstPrinter.h [MC] Add parameter `Address` to MCInstrPrinter::printInstruction 2020-01-06 20:44:14 -08:00
X86AsmBackend.cpp Fix helptext for opt/llc after 14fc20ca6 2020-01-30 08:35:55 -06:00
X86BaseInfo.h [X86] Add function isPrefix() 2020-01-30 14:11:50 +08:00
X86ELFObjectWriter.cpp [MC] Minor cleanup to MCFixup::Kind handling. NFC. 2019-08-23 01:00:55 +00:00
X86FixupKinds.h
X86InstComments.cpp [X86] Introduce new MOVSSrm/MOVSDrm opcodes that use VR128 register class. 2019-06-18 03:23:11 +00:00
X86InstComments.h [X86] Move InstPrinter files to MCTargetDesc. NFC 2019-05-10 23:24:38 +00:00
X86InstPrinterCommon.cpp [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
X86InstPrinterCommon.h [X86] Add VP2INTERSECT instructions 2019-05-31 02:50:41 +00:00
X86IntelInstPrinter.cpp [MC] Add parameter `Address` to MCInstrPrinter::printInstruction 2020-01-06 20:44:14 -08:00
X86IntelInstPrinter.h [MC] Add parameter `Address` to MCInstrPrinter::printInstruction 2020-01-06 20:44:14 -08:00
X86MCAsmInfo.cpp Allow '@' to appear in x86 mingw symbols 2019-08-29 21:15:02 +00:00
X86MCAsmInfo.h
X86MCCodeEmitter.cpp [llvm-mc] - Produce R_X86_64_PLT32 relocation for branches with JCC opcodes too. 2020-01-20 11:42:19 +03:00
X86MCExpr.h [X86] Move InstPrinter files to MCTargetDesc. NFC 2019-05-10 23:24:38 +00:00
X86MCTargetDesc.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
X86MCTargetDesc.h [X86][Btver2] Fix latency and throughput of CMPXCHG instructions. 2019-08-20 10:23:55 +00:00
X86MachObjectWriter.cpp [MC] Minor cleanup to MCFixup::Kind handling. NFC. 2019-08-23 01:00:55 +00:00
X86TargetStreamer.h
X86WinCOFFObjectWriter.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
X86WinCOFFStreamer.cpp [MC] Avoid crashes from improperly nested or wrong target .seh_handlerdata directives 2019-08-30 22:25:55 +00:00
X86WinCOFFTargetStreamer.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00