Skip to content

[NFC] Fixing typos in MLGO.rst #141878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025

Conversation

svkeerthy
Copy link
Contributor

No description provided.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@svkeerthy svkeerthy marked this pull request as ready for review May 28, 2025 23:38
@llvmbot llvmbot added the mlgo label May 28, 2025
Copy link
Contributor Author

svkeerthy commented May 28, 2025

Merge activity

  • May 28, 11:38 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 28, 11:39 PM UTC: @svkeerthy merged this pull request with Graphite.

@llvmbot
Copy link
Member

llvmbot commented May 28, 2025

@llvm/pr-subscribers-mlgo

Author: S. VenkataKeerthy (svkeerthy)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/141878.diff

1 Files Affected:

  • (modified) llvm/docs/MLGO.rst (+3-3)
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

@svkeerthy svkeerthy merged commit ed5eb1c into main May 28, 2025
13 of 14 checks passed
@svkeerthy svkeerthy deleted the users/svkeerthy/05-28-_nfc_fixing_typos_in_mlgo.rst branch May 28, 2025 23:39
svkeerthy added a commit that referenced this pull request May 29, 2025
google-yfyang pushed a commit to google-yfyang/llvm-project that referenced this pull request May 29, 2025
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants