]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Sat, 17 Sep 2022 10:01:07 +0000 (15:31 +0530)
committerGitHub <noreply@github.com>
Sat, 17 Sep 2022 10:01:07 +0000 (15:31 +0530)
commitcbd561d41f61201decae3adb45fe827d30aa96ec
tree61f8f4dce1a826fd0cb071559ab21f7fa925c8b8
parent3ad81e0dd854d0edaeea7429fba6c2255c6a27ef
parent3f2ce0624dfed866f758521b225e26c00b3250d8
Rollup merge of #98441 - calebzulawski:simd_as, r=oli-obk

Implement simd_as for pointers

Expands `simd_as` (and `simd_cast`) to handle pointer-to-pointer, pointer-to-integer, and integer-to-pointer conversions.

cc ``@programmerjake`` ``@thomcc``
compiler/rustc_codegen_llvm/src/intrinsic.rs
compiler/rustc_span/src/symbol.rs
compiler/rustc_typeck/src/check/intrinsic.rs