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

Support PreIselIntrinsicLowering of memory intrinsics #753

Open
arichardson opened this issue Dec 10, 2024 · 0 comments
Open

Support PreIselIntrinsicLowering of memory intrinsics #753

arichardson opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@arichardson
Copy link
Member

Since llvm/llvm-project@3c848194f28d building with no-builtin will expand memory intrinsics in IR instead of going to the default SelectionDAG IR. This allows expanding non-constant size calls but currently does not support CHERI since it copies integers.

I disabled this in the LLVM 17 merge, but we might want to support it so we can generate -fno-builtin code that does not have references to memcpy/memmove.
Unlike GPU usecases those libcalls don't matter too much, so filing this as an enhancement.

@arichardson arichardson added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant