diff options
| author | bors <bors@rust-lang.org> | 2025-03-01 00:53:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-01 00:53:19 +0000 |
| commit | 30508faeb3248d399079513b6e0107af30a43948 (patch) | |
| tree | 8010a4be6772a8d6d0799f8aa372ecd29dc6abe3 /tests/codegen/simd | |
| parent | aa3c2d73eff57d6b019c26a1e9aa8afd8bc186ad (diff) | |
| parent | 0cb9827d706dea0afdbdf3701aa3ff78b16b5a4b (diff) | |
| download | rust-30508faeb3248d399079513b6e0107af30a43948.tar.gz rust-30508faeb3248d399079513b6e0107af30a43948.zip | |
Auto merge of #137796 - jieyouxu:rollup-qt9yr1g, r=jieyouxu
Rollup of 10 pull requests Successful merges: - #134943 (Add FileCheck annotations to mir-opt/issues) - #137017 (Don't error when adding a staticlib with bitcode files compiled by newer LLVM) - #137197 (Update some comparison codegen tests now that they pass in LLVM20) - #137540 (Fix (more) test directives that were accidentally ignored) - #137551 (import `simd_` intrinsics) - #137599 (tests: use minicore more) - #137673 (Fix Windows `Command` search path bug) - #137676 (linker: Fix escaping style for response files on Windows) - #137693 (Re-enable `--generate-link-to-defintion` for tools internal rustdoc) - #137770 (Fix sized constraint for unsafe binder) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/codegen/simd')
| -rw-r--r-- | tests/codegen/simd/simd_arith_offset.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen/simd/simd_arith_offset.rs index e14fce1d418..b8af6fce332 100644 --- a/tests/codegen/simd/simd_arith_offset.rs +++ b/tests/codegen/simd/simd_arith_offset.rs @@ -3,11 +3,9 @@ // #![crate_type = "lib"] -#![feature(repr_simd, intrinsics)] +#![feature(repr_simd, core_intrinsics)] -extern "rust-intrinsic" { - pub(crate) fn simd_arith_offset<T, U>(ptrs: T, offsets: U) -> T; -} +use std::intrinsics::simd::simd_arith_offset; /// A vector of *const T. #[derive(Debug, Copy, Clone)] |
