about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorAndy Sadler <andrewsadler122@gmail.com>2024-05-08 20:51:21 -0500
committerAndy Sadler <andrewsadler122@gmail.com>2024-05-08 20:51:21 -0500
commita0b4d735e33811941e0eceb4cbedc8aaec6af3d3 (patch)
treea968a734191aa0973895bd2748bfe9cd8907ee33 /compiler/rustc_codegen_llvm/src
parentd7c8e0fb434144b441e48f79eb2d728b1eab298a (diff)
downloadrust-a0b4d735e33811941e0eceb4cbedc8aaec6af3d3.tar.gz
rust-a0b4d735e33811941e0eceb4cbedc8aaec6af3d3.zip
simd: implement pointer provenance intrinsics
This adds support for the simd variants of the pointer provenance
intrinsics, which are `simd_cast_ptr`, `simd_expose_addr`, and
`simd_from_exposed_addr`.

The preconditions for each intrinsic are adapted from rustc_codegen_llvm
to preserve compatibility.  Each of these intrinsics are implemented as
calling the non-simd variant of each intrinsic on each lane.

This is enough to enable the UI test `ui/simd/intrinsic/ptr-cast.rs` to
pass.

Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions