[llvm] [CodeExtractor] Resolving the Inconsistency of Compiled Binary Files (PR #86464)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 24 21:26:22 PDT 2024


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 6af6416e89de1f4656a145c4843226b468718434 3ba9122af72410ecb3c9723e5b239d3182a614a2 -- llvm/include/llvm/Transforms/Utils/CodeExtractor.h llvm/lib/Transforms/Utils/CodeExtractor.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
index 7f21067e54..cba3c9d18d 100644
--- a/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
+++ b/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
@@ -250,7 +250,8 @@ public:
                        Instruction *Addr, BasicBlock *ExitBlock) const;
 
     void severSplitPHINodesOfEntry(BasicBlock *&Header);
-    void severSplitPHINodesOfExits(const std::unordered_set<BasicBlock *> &Exits);
+    void
+    severSplitPHINodesOfExits(const std::unordered_set<BasicBlock *> &Exits);
     void splitReturnBlocks();
 
     Function *constructFunction(const ValueSet &inputs,

``````````

</details>


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


More information about the llvm-commits mailing list