Skip to content

Commit a0f23d1

Browse files
committed
move simd-minmax-test to run-pass; require llvm 7
1 parent 295d980 commit a0f23d1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/test/codegen/simd-intrinsic-float-minmax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#![crate_type = "lib"]
1717

1818
#![feature(repr_simd, platform_intrinsics)]
19-
#[allow(non_camel_case_types)]
19+
#![allow(non_camel_case_types)]
2020

2121
#[repr(simd)]
2222
#[derive(Copy, Clone, PartialEq, Debug)]

src/test/run-fail/simd-intrinsic-float-minmax.rs renamed to src/test/run-pass/simd-intrinsic-float-minmax.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
// except according to those terms.
1010

1111
// ignore-emscripten
12-
// min-llvm-version 6.0
12+
// min-llvm-version 7.0
1313
// error-pattern: panicked
1414

1515
// Test that the simd_f{min,max} intrinsics produce the correct results.
1616

1717
#![feature(repr_simd, platform_intrinsics)]
18-
#[allow(non_camel_case_types)]
18+
#![allow(non_camel_case_types)]
1919

2020
#[repr(simd)]
2121
#[derive(Copy, Clone, PartialEq, Debug)]
@@ -43,7 +43,6 @@ fn main() {
4343
let minn = simd_fmin(y, n);
4444
assert_eq!(minn, y);
4545

46-
// FIXME(49261)
4746
let max0 = simd_fmax(x, y);
4847
let max1 = simd_fmax(y, x);
4948
assert_eq!(max0, max1);

0 commit comments

Comments
 (0)