[PATCH] D146898: [Docs][typo] Done the required fix for the #61690

Tiwari Abhinav Ashok Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 25 23:51:55 PDT 2023


aabhinavg updated this revision to Diff 508382.
aabhinavg edited the summary of this revision.
aabhinavg added a comment.

Done some minor changes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146898/new/

https://reviews.llvm.org/D146898

Files:
  llvm/docs/CommandGuide/llvm-opt-report.rst
  llvm/docs/GettingStarted.rst


Index: llvm/docs/GettingStarted.rst
===================================================================
--- llvm/docs/GettingStarted.rst
+++ llvm/docs/GettingStarted.rst
@@ -583,7 +583,7 @@
 Once checked out repository, the LLVM suite source code must be configured
 before being built. This process uses CMake.  Unlinke the normal ``configure``
 script, CMake generates the build files in whatever format you request as well
-as various ``*.inc`` files, and ``llvm/include/Config/config.h``.
+as various ``*.inc`` files, and ``llvm/include/llvm/Config/config.h.cmake``.
 
 Variables are passed to ``cmake`` on the command line using the format
 ``-D<variable name>=<value>``. The following variables are some common options
Index: llvm/docs/CommandGuide/llvm-opt-report.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-opt-report.rst
+++ llvm/docs/CommandGuide/llvm-opt-report.rst
@@ -15,6 +15,13 @@
 
 You need to create an input YAML optimization record file before running :program:`llvm-opt-report`.
 
+The `llvm-opt-report` command generates a report on the optimization passes that were applied to a given LLVM bitcode file.
+It provides information on the execution time, memory usage, and other details of each optimization pass.
+
+If a specific line of code is output twice, it means that the same optimization pass was applied to that line of code
+twice, and the pass was able to further optimize the code on the second iteration.
+
+
 .. code-block:: console
 
  $ clang -c foo.c -o foo.o -O3 -fsave-optimization-record


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146898.508382.patch
Type: text/x-patch
Size: 1589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230326/7d3e981b/attachment.bin>


More information about the llvm-commits mailing list