[llvm] [CodeLayout] CDSortImpl: remove HotChains and remove linear-time erase_value from mergeChains (PR #69276)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 15:29:25 PDT 2023


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 59908504cd7a72cd2a614e5c6db5410101209365 299bbc698e8dbdcf2163ed6ba213291f7a1b9505 -- llvm/lib/Transforms/Utils/CodeLayout.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Utils/CodeLayout.cpp b/llvm/lib/Transforms/Utils/CodeLayout.cpp
index eb763b886..f240b5f5a 100644
--- a/llvm/lib/Transforms/Utils/CodeLayout.cpp
+++ b/llvm/lib/Transforms/Utils/CodeLayout.cpp
@@ -1025,7 +1025,6 @@ public:
     // Merge pairs of chains while improving the objective.
     mergeChainPairs();
 
-
     // Collect nodes from all the chains.
     return concatChains();
   }

``````````

</details>


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


More information about the llvm-commits mailing list