diff options
| author | bors <bors@rust-lang.org> | 2024-11-02 04:59:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-02 04:59:26 +0000 |
| commit | b5f4883a06f1d861b108ac892f07f4fa37eb1bed (patch) | |
| tree | 6222af47b6256cba01ec46091aa3e62743ab24f4 /tests | |
| parent | ef972a346668ed4234d1a43ed4ad7ca4e9c58d51 (diff) | |
| parent | ebeaaadceae400e371dc592b0ee89d1913d40a03 (diff) | |
| download | rust-b5f4883a06f1d861b108ac892f07f4fa37eb1bed.tar.gz rust-b5f4883a06f1d861b108ac892f07f4fa37eb1bed.zip | |
Auto merge of #132352 - DianQK:llvm/19.1.3, r=nikic
Update LLVM to 19.1.3 Closes #131031. r? nikic
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/target-feature/wasm-disable-simd.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/target-feature/wasm-disable-simd.rs b/tests/ui/target-feature/wasm-disable-simd.rs new file mode 100644 index 00000000000..998c8674823 --- /dev/null +++ b/tests/ui/target-feature/wasm-disable-simd.rs @@ -0,0 +1,12 @@ +//@ only-wasm32-wasip1 +//@ compile-flags: -Ctarget-feature=-simd128 --crate-type=lib +//@ build-pass + +// This is a regression test of #131031. + +use std::arch::wasm32::*; + +#[target_feature(enable = "simd128")] +pub unsafe fn some_simd128_fn(chunk: v128) -> bool { + u8x16_all_true(chunk) +} |
