[llvm] [HashRecognize] Make it a non-PM analysis (PR #144742)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 19 01:15:02 PDT 2025
================
@@ -66,13 +66,18 @@ struct PolynomialInfo {
// Set to true in the case of big-endian.
bool ByteOrderSwapped;
+ // A function_ref to generate the Sarwate lookup-table, which can be used to
+ // optimize CRC in the absence of target-specific instructions.
+ function_ref<CRCTable(const APInt &, bool)> GenSarwateTable;
----------------
nikic wrote:
Why does this need to be a function_ref rather than a plain member function?
https://github.com/llvm/llvm-project/pull/144742
More information about the llvm-commits
mailing list