]> git.lizzy.rs Git - rust.git/commitdiff
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)
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``

1  2 
compiler/rustc_codegen_llvm/src/intrinsic.rs
compiler/rustc_span/src/symbol.rs
compiler/rustc_typeck/src/check/intrinsic.rs

Simple merge