[llvm] [llvm][aarch64] Add support for the MS qualifiers __ptr32, __ptr64, _sptr, __uptr (PR #112793)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 3 21:19:13 PST 2024


efriedma-quic 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.)

https://github.com/llvm/llvm-project/pull/112793


More information about the llvm-commits mailing list