Skip to content

[HashRecognize] Add tests to verify CRC optz #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged

Conversation

artagnon
Copy link
Contributor

In preparation to optimize cyclic-redundancy-check loops using table-lookup using the newly introduced HashRecognize analysis, add tests with CRC loops (which will get optimized), and check the result against a Sarwate table-lookup (which will not get optimized). The companion change is llvm/llvm-project#143208.

@artagnon artagnon requested review from nikic, pfusik and dtcxzyw June 17, 2025 17:33
Copy link

@pfusik pfusik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

In preparation to optimize cyclic-redundancy-check loops using
table-lookup using the newly introduced HashRecognize analysis, add
tests with CRC loops (which will get optimized), and check the result
against a Sarwate table-lookup (which will not get optimized). The
companion change is llvm/llvm-project#143208.
@artagnon artagnon merged commit 2720be4 into llvm:main Jun 18, 2025
1 check passed
@artagnon artagnon deleted the hr branch June 18, 2025 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants