[llvm-branch-commits] [llvm] MIR2Vec embedding (PR #162161)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Oct 6 14:20:16 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- llvm/include/llvm/CodeGen/MIR2Vec.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/lib/CodeGen/CodeGen.cpp llvm/lib/CodeGen/MIR2Vec.cpp llvm/tools/llc/llc.cpp llvm/unittests/CodeGen/MIR2VecTest.cpp
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h
index 9720369e7..7fae550d8 100644
--- a/llvm/include/llvm/CodeGen/Passes.h
+++ b/llvm/include/llvm/CodeGen/Passes.h
@@ -95,8 +95,7 @@ createMIR2VecVocabPrinterLegacyPass(raw_ostream &OS);
 
 /// MIR2VecPrinter pass - This pass prints out the MIR2Vec embeddings for
 /// machine functions, basic blocks and instructions.
-LLVM_ABI MachineFunctionPass *
-createMIR2VecPrinterLegacyPass(raw_ostream &OS);
+LLVM_ABI MachineFunctionPass *createMIR2VecPrinterLegacyPass(raw_ostream &OS);
 
 /// StackFramePrinter pass - This pass prints out the machine function's
 /// stack frame to the given stream as a debugging tool.

``````````

</details>


https://github.com/llvm/llvm-project/pull/162161


More information about the llvm-branch-commits mailing list