[llvm] Minor typo fix in IR2Vec section of MLGO doc (PR #141162)

S. VenkataKeerthy via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 16:48:37 PDT 2025


https://github.com/svkeerthy created https://github.com/llvm/llvm-project/pull/141162

None

>From 0bcaf3ab301de3c1786a7af7ae9ea0603f39b2f2 Mon Sep 17 00:00:00 2001
From: svkeerthy <venkatakeerthy at google.com>
Date: Thu, 22 May 2025 23:46:40 +0000
Subject: [PATCH] Fix typo in MLGO doc

---
 llvm/docs/MLGO.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/MLGO.rst b/llvm/docs/MLGO.rst
index 43b45d505ea3a..15d71c9d77506 100644
--- a/llvm/docs/MLGO.rst
+++ b/llvm/docs/MLGO.rst
@@ -471,7 +471,7 @@ embeddings can be computed and accessed via an ``ir2vec::Embedder`` instance.
       const ir2vec::Vocab &Vocabulary = VocabRes.getVocabulary();
       unsigned Dimension = VocabRes.getDimension();
 
-    Note that ``IR2VecVocabAnalysis`` pass is immutable.
+   Note that ``IR2VecVocabAnalysis`` pass is immutable.
 
 2. **Create Embedder instance**:
    With the vocabulary, create an embedder for a specific function:



More information about the llvm-commits mailing list