Skip to content

[HIP] Add a __builtin_memset test #276

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 2 commits into from
Aug 18, 2025
Merged

Conversation

ritter-x2a
Copy link
Member

This is mostly analogous to the existing memmove test: __builtin_memset is called on the device with different lengths, in different address spaces, at different dynamic alignments, and with constant and dynamic operands. The result is compared to a reference computation on the host to ensure functional correctness of the memset lowering.

Also adds a missing standard lib include to the memmove test.

For SWDEV-543208.

This is mostly analogous to the existing memmove test: __builtin_memset is
called on the device with different lengths, in different address spaces, at
different dynamic alignments, and with constant and dynamic operands. The
result is compared to a reference computation on the host to ensure functional
correctness of the memset lowering.

Also adds a missing standard lib include to the memmove test.

For SWDEV-543208.
@ritter-x2a ritter-x2a self-assigned this Aug 14, 2025
Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

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

lgtm

@ritter-x2a ritter-x2a merged commit 6ea7054 into llvm:main Aug 18, 2025
1 check passed
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.

3 participants