[llvm] [llvm][aarch64] Add support for the MS qualifiers __ptr32, __ptr64, _sptr, __uptr (PR #112793)
Daniel Paoliello via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 11:19:13 PST 2024
dpaoliello wrote:
> > I experimented with memcpy intrinsic, but it's defined to take two regular pointers so Clang/LLVM inserted address space casts automatically.
>
> The LLVM IR memcpy intrinsic can take pointers into arbitrary address-spaces. I guess you're unlikely to run into this in practice. (The clang memcpy can't, yes.)
Looks like the memcpy intrinsic gets specialized per address space?
For now, I think I'd rather leave this since none of the other targets that implement ptr32 seem to handle it and we can fix/implement it later if it becomes an issue.
https://github.com/llvm/llvm-project/pull/112793
More information about the llvm-commits
mailing list