Skip to content

Commit 6f83ebe

Browse files
committed
fixes / feedback
1 parent 2563123 commit 6f83ebe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/docs/MLGO.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ When training models, we need to expose the features we will want to use during
354354
inference, as well as outcomes, to guide reward-based learning techniques. This
355355
can happen in 2 forms:
356356

357-
- as an effect of running the compiler on some input, as a capture of the
358-
features and actions taken by some policy or a model currently being used.
357+
- when running the compiler on some input, as a capture of the features and
358+
actions taken by some policy or a model currently being used.
359359
For example, see ``DevelopmentModeInlineAdvisor`` or ``DevelopmentModeEvictAdvisor``
360360
in ``MLRegallocEvictAdvisor.cpp``. In more detail, in the former case, if
361361
``-training-log`` is specified, the features and actions (inline/no inline)
@@ -424,7 +424,7 @@ to inspect a log without additional tooling.
424424

425425
A python utility for reading logs, used for tests, is available at
426426
``Analysis/models/log_reader.py``. A utility showcasing the ``InteractiveModelRunner``,
427-
which uses this reader as well, is at ``Analysis/models/``Analysis/models/interactive_host.py``.
427+
which uses this reader as well, is at ``Analysis/models/interactive_host.py``.
428428
The latter is also used in tests.
429429

430430
There is no C++ implementation of a log reader. We do not have a scenario

llvm/docs/Reference.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ LLVM and API reference documentation.
4040
PCSectionsMetadata
4141
PDB/index
4242
PointerAuth
43+
MLGO
4344
ScudoHardenedAllocator
4445
MemoryModelRelaxationAnnotations
4546
MemTagSanitizer

0 commit comments

Comments
 (0)