[llvm] [HashRecognize] Make it a non-PM analysis (PR #144742)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 12:59:26 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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/Analysis/HashRecognize.h llvm/lib/Analysis/HashRecognize.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Analysis/HashRecognize.cpp b/llvm/lib/Analysis/HashRecognize.cpp
index e8d34198c..850b6be41 100644
--- a/llvm/lib/Analysis/HashRecognize.cpp
+++ b/llvm/lib/Analysis/HashRecognize.cpp
@@ -443,10 +443,9 @@ getRecurrences(BasicBlock *LoopLatch, const PHINode *IndVar, const Loop &L) {
 }
 
 PolynomialInfo::PolynomialInfo(
-    unsigned TripCount, Value *LHS, const APInt &RHS,
-    Value *ComputedValue, bool ByteOrderSwapped,
-    function_ref<CRCTable(const APInt &, bool)> GenSarwateTable,
-    Value *LHSAux)
+    unsigned TripCount, Value *LHS, const APInt &RHS, Value *ComputedValue,
+    bool ByteOrderSwapped,
+    function_ref<CRCTable(const APInt &, bool)> GenSarwateTable, Value *LHSAux)
     : TripCount(TripCount), LHS(LHS), RHS(RHS), ComputedValue(ComputedValue),
       ByteOrderSwapped(ByteOrderSwapped), GenSarwateTable(GenSarwateTable),
       LHSAux(LHSAux) {}

``````````

</details>


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


More information about the llvm-commits mailing list