[llvm] [LoopIdiomRecognize] Enable clmul optimization for CRC loops (PR #203405)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 15:53:52 PDT 2026


github-actions[bot] wrote:

<!--LLVM IDS CHECK COMMENT-->


:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:

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

``````````bash
Build idt from compnerd/ids, then for each changed header:
    idt -p build/ --main-file <matching-source.cpp> \
        --apply-fixits --inplace <header>
``````````

</details>

<details>
<summary>
View the diff from ids-check here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/Analysis/HashRecognize.h b/llvm/include/llvm/Analysis/HashRecognize.h
index 7ca6cbeb9..c9ab84887 100644
--- a/llvm/include/llvm/Analysis/HashRecognize.h
+++ b/llvm/include/llvm/Analysis/HashRecognize.h
@@ -50,7 +50,7 @@ struct CRCBarrettConstants {
   // CRCBW+1.
   APInt FullGenPoly;
 
-  LLVM_ABI CRCBarrettConstants(const APInt &Mu, const APInt &FullGenPoly)
+  CRCBarrettConstants(const APInt &Mu, const APInt &FullGenPoly)
       : Mu(Mu), FullGenPoly(FullGenPoly) {}
 
   LLVM_ABI void print(raw_ostream &OS) const;

``````````

</details>


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


More information about the llvm-commits mailing list