Skip to content

release/19.x: [AArch64][SME] Rewrite __arm_sc_memset to remove invalid instruction (#101522) #101938

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
Aug 10, 2024

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 5, 2024

Backport d6649f2

Requested by: @kmclaughlin-arm

@llvmbot llvmbot added this to the LLVM 19.X Release milestone Aug 5, 2024
@llvmbot
Copy link
Member Author

llvmbot commented Aug 5, 2024

@kmclaughlin-arm What do you think about merging this PR to the release branch?

@kmclaughlin-arm
Copy link
Contributor

kmclaughlin-arm commented Aug 5, 2024

I think this should be merged into the release branch as the __arm_sc_memset routine it fixes cannot be run in streaming-mode without this change.

…lvm#101522)

The implementation of __arm_sc_memset in compiler-rt contains
a Neon dup instruction which is not valid in streaming mode. This
patch rewrites the function, using an SVE mov instruction if available.

(cherry picked from commit d6649f2)
@tru tru merged commit 91d3e76 into llvm:release/19.x Aug 10, 2024
4 of 5 checks passed
Copy link

@kmclaughlin-arm (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants