diff options
| author | Andy Sadler <andrewsadler122@gmail.com> | 2024-05-08 20:51:21 -0500 |
|---|---|---|
| committer | Andy Sadler <andrewsadler122@gmail.com> | 2024-05-08 20:51:21 -0500 |
| commit | a0b4d735e33811941e0eceb4cbedc8aaec6af3d3 (patch) | |
| tree | a968a734191aa0973895bd2748bfe9cd8907ee33 /compiler/rustc_codegen_llvm/src | |
| parent | d7c8e0fb434144b441e48f79eb2d728b1eab298a (diff) | |
| download | rust-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
