From 3c39d0d084725d8474ed81bd5f00f743ec817177 Mon Sep 17 00:00:00 2001 From: svkeerthy Date: Wed, 28 May 2025 23:36:57 +0000 Subject: [PATCH] [NFC] Fixing typos in MLGO.rst --- llvm/docs/MLGO.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/docs/MLGO.rst b/llvm/docs/MLGO.rst index 549d8369d648d..377c2aec44475 100644 --- a/llvm/docs/MLGO.rst +++ b/llvm/docs/MLGO.rst @@ -492,15 +492,15 @@ embeddings can be computed and accessed via an ``ir2vec::Embedder`` instance. 3. **Compute and Access Embeddings**: Call ``getFunctionVector()`` to get the embedding for the function. - .. code-block:: c++ + .. code-block:: c++ - const ir2vec::Embedding &FuncVector = Emb->getFunctionVector(); + const ir2vec::Embedding &FuncVector = Emb->getFunctionVector(); Currently, ``Embedder`` can generate embeddings at three levels: Instructions, Basic Blocks, and Functions. Appropriate getters are provided to access the embeddings at these levels. - .. note:: + .. note:: The validity of ``Embedder`` instance (and the embeddings it generates) is tied to the function it is associated with remains unchanged. If the function