Skip to content
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

Make isbitstypes use memmove instead of the runtime function in copyto! #56237

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

gbaraldi
Copy link
Member

@gbaraldi gbaraldi commented Oct 18, 2024

This might help llvm understand whats going on. Also enzyme really wants this to look like this to trace through it better.

We probably want to backport this. (this is also very likely faster)

@gbaraldi gbaraldi added the backport 1.11 Change should be backported to release-1.11 label Oct 18, 2024
Copy link
Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

SGTM

base/genericmemory.jl Outdated Show resolved Hide resolved
@nsajko nsajko added the arrays [a, r, r, a, y, s] label Oct 19, 2024
Co-authored-by: Jameson Nash <[email protected]>
base/genericmemory.jl Outdated Show resolved Hide resolved
@vchuravy vchuravy merged commit fee8090 into master Oct 21, 2024
7 checks passed
@vchuravy vchuravy deleted the gb/memmove-memory branch October 21, 2024 05:45
KristofferC pushed a commit that referenced this pull request Oct 21, 2024
…o! (#56237)

This might help llvm understand whats going on. Also enzyme really wants
this to look like this to trace through it better.
---------

Co-authored-by: Jameson Nash <[email protected]>
KristofferC pushed a commit that referenced this pull request Oct 29, 2024
…o! (#56237)

This might help llvm understand whats going on. Also enzyme really wants
this to look like this to trace through it better.
---------

Co-authored-by: Jameson Nash <[email protected]>
(cherry picked from commit fee8090)
@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants