[PATCH] D47015: [llvm-exegesis] Improve documentation.

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 07:53:48 PDT 2018


gchatelet added inline comments.


================
Comment at: docs/CommandGuide/llvm-exegesis.rst:41
+
+    $ llvm-exegesis -mode=uop -opcode-name=ADD64rr
+
----------------
uops


================
Comment at: docs/CommandGuide/llvm-exegesis.rst:66
+To measure the latency of all instructions for the host architecture, run:
+FIXME: Allow this directly from :program:`llvm-exegesis`.
+
----------------
"Provide an :program:`llvm-exegesis` option to test all instructions."


================
Comment at: docs/CommandGuide/llvm-exegesis.rst:152
 
-.. option:: -benchmark-mode=[Latency|Uops]
+.. option:: -mode=[latency|uops|analysis]
 
----------------
`benchmark-mode`


================
Comment at: tools/llvm-exegesis/llvm-exegesis.cpp:52
 static llvm::cl::opt<BenchmarkModeE> BenchmarkMode(
-    "benchmark-mode", llvm::cl::desc("the benchmark mode to run"),
+    "mode", llvm::cl::desc("the benchmark mode to run"),
     llvm::cl::values(
----------------
remove benchmark


Repository:
  rL LLVM

https://reviews.llvm.org/D47015





More information about the llvm-commits mailing list