[llvm] c7c2bbb - [Docs][llvm-exegesis] Minor adjustments for clarity

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 30 10:00:26 PST 2023


Author: Aiden Grossman
Date: 2023-12-30T09:55:46-08:00
New Revision: c7c2bbba9357a0e350cba4f9cd955a80b7de7c0f

URL: https://github.com/llvm/llvm-project/commit/c7c2bbba9357a0e350cba4f9cd955a80b7de7c0f
DIFF: https://github.com/llvm/llvm-project/commit/c7c2bbba9357a0e350cba4f9cd955a80b7de7c0f.diff

LOG: [Docs][llvm-exegesis] Minor adjustments for clarity

This patch makes minor adjustments to the llvm-exegesis docs for
clarity. Particularly, an update is made to the list of snippet
annotations to list the correct number of annotations that was not
updated when the docs were originally updated for the snippet address
annotation. In addition, this patch changes a decimal value for the
snippet memory annotation example for an explicit hex value to emphasize
that the LLVM-EXEGESIS-MEM-DEF annotation takes a hex value for the
memory value.

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-exegesis.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-exegesis.rst b/llvm/docs/CommandGuide/llvm-exegesis.rst
index bc37d52d147668..2ee533c324d969 100644
--- a/llvm/docs/CommandGuide/llvm-exegesis.rst
+++ b/llvm/docs/CommandGuide/llvm-exegesis.rst
@@ -44,7 +44,7 @@ SNIPPET ANNOTATIONS
 
 :program:`llvm-exegesis` supports benchmarking arbitrary snippets of assembly.
 However, benchmarking these snippets often requires some setup so that they
-can execute properly. :program:`llvm-exegesis` has four annotations and some
+can execute properly. :program:`llvm-exegesis` has five annotations and some
 additional utilities to help with setup so that snippets can be benchmarked
 properly.
 
@@ -183,7 +183,7 @@ annotations added to the snippet:
 
 .. code-block:: none
 
-  # LLVM-EXEGESIS-MEM-DEF test1 4096 2147483647
+  # LLVM-EXEGESIS-MEM-DEF test1 4096 7fffffff
   # LLVM-EXEGESIS-MEM-MAP test1 8192
 
   movq $8192, %rax


        


More information about the llvm-commits mailing list