Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 416017d

Browse files
committed
Add a regression test for rust-lang#131031
The failure output is: ``` SplitVectorOperand Op #1: t51: i32 = llvm.wasm.alltrue TargetConstant:i32<12408>, t50 rustc-LLVM ERROR: Do not know how to split this operator's operand! ```
1 parent 16422db commit 416017d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
//@ only-wasm32-wasip1
2+
//@ compile-flags: -Ctarget-feature=-simd128 --crate-type=lib
3+
//@ build-pass
4+
5+
// This is a regression test of #131031.
6+
7+
use std::arch::wasm32::*;
8+
9+
#[target_feature(enable = "simd128")]
10+
pub unsafe fn some_simd128_fn(chunk: v128) -> bool {
11+
u8x16_all_true(chunk)
12+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /