[PATCH] D91484: [TableGen] Improve a couple of descriptions in the command guide

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 14 13:13:36 PST 2020


Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, nhaehnle.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Paul-C-Anagnostopoulos requested review of this revision.

Just a couple of things I noticed in the xxx-tblgen command guide.

I will auto-LGTM this in 24 hours.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91484

Files:
  llvm/docs/CommandGuide/tblgen.rst


Index: llvm/docs/CommandGuide/tblgen.rst
===================================================================
--- llvm/docs/CommandGuide/tblgen.rst
+++ llvm/docs/CommandGuide/tblgen.rst
@@ -32,7 +32,11 @@
 
 .. option:: -help
 
- Print a summary of command line options.
+ Print a description of the command line options.
+
+.. option:: -help-list
+
+  Print a description of the command line options in a simple list format.
 
 .. option:: -D=macroname
 
@@ -79,12 +83,16 @@
 
 .. option:: -stats
 
-  Enable statistics output.
+  Print a report with any statistics collected by the backend.
 
 .. option:: -time-phases
 
   Time the parser and backend phases and print a report.
 
+.. option:: -version
+
+ Show the version number of the program.
+
 .. option:: -write-if-changed
 
   Write the output file only if it is new or has changed.
@@ -301,11 +309,6 @@
 
  Print expanded sets for testing DAG exprs.
 
-.. option:: -version
-
- Show the version number of the program.
-
-
 clang-tblgen Options
 ~~~~~~~~~~~~~~~~~~~~
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91484.305326.patch
Type: text/x-patch
Size: 1028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201114/c8ecfc47/attachment.bin>


More information about the llvm-commits mailing list