Skip to content

Commit d8ab8b9

Browse files
[Docs][llvm-exegesis] Fix minor issues in llvm-exegesis docs
1 parent f653f6d commit d8ab8b9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

llvm/docs/CommandGuide/llvm-exegesis.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ SUPPORTED PLATFORMS
3737
only), MIPS, and PowerPC (PowerPC64LE only) on Linux for benchmarking. Not all
3838
benchmarking functionality is guaranteed to work on every platform.
3939
:program:`llvm-exegesis` also has a separate analysis mode that is supported
40-
on every platform on which LLVM is.
40+
on every platform that LLVM is.
4141

4242
SNIPPET ANNOTATIONS
4343
-------------------
4444

4545
:program:`llvm-exegesis` supports benchmarking arbitrary snippets of assembly.
4646
However, benchmarking these snippets often requires some setup so that they
47-
can execute properly. :program:`llvm-exegesis` has two annotations and some
47+
can execute properly. :program:`llvm-exegesis` has four annotations and some
4848
additional utilities to help with setup so that snippets can be benchmarked
4949
properly.
5050

@@ -69,10 +69,11 @@ properly.
6969
specifying memory definitions that can later be mapped into the execution
7070
process of a snippet with the `LLVM-EXEGESIS-MEM-MAP` annotation. Each
7171
value is named using the `<value name>` argument so that it can be referenced
72-
later within a map annotation. The size is specified in bytes the the value
73-
is taken in hexadecimal. If the size of the value is less than the specified
74-
size, the value will be repeated until it fills the entire section of memory.
75-
Using this annotation requires using the subprocess execution mode.
72+
later within a map annotation. The size is specified in a decimal number of
73+
bytes and the value is given in hexadecimal. If the size of the value is less
74+
than the specified size, the value will be repeated until it fills the entire
75+
section of memory. Using this annotation requires using the subprocess execution
76+
mode.
7677
* `LLVM-EXEGESIS-MEM-MAP <value name> <address>` - This annotation allows for
7778
mapping previously defined memory definitions into the execution context of a
7879
process. The value name refers to a previously defined memory definition and

0 commit comments

Comments
 (0)