Skip to content

Commit ed5eb1c

Browse files
authored
[NFC] Fixing typos in MLGO.rst (#141878)
1 parent 42c8742 commit ed5eb1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/docs/MLGO.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,15 +492,15 @@ embeddings can be computed and accessed via an ``ir2vec::Embedder`` instance.
492492
3. **Compute and Access Embeddings**:
493493
Call ``getFunctionVector()`` to get the embedding for the function.
494494

495-
.. code-block:: c++
495+
.. code-block:: c++
496496

497-
const ir2vec::Embedding &FuncVector = Emb->getFunctionVector();
497+
const ir2vec::Embedding &FuncVector = Emb->getFunctionVector();
498498

499499
Currently, ``Embedder`` can generate embeddings at three levels: Instructions,
500500
Basic Blocks, and Functions. Appropriate getters are provided to access the
501501
embeddings at these levels.
502502

503-
.. note::
503+
.. note::
504504

505505
The validity of ``Embedder`` instance (and the embeddings it generates) is
506506
tied to the function it is associated with remains unchanged. If the function

0 commit comments

Comments
 (0)