Skip to content

Commit f41e1cf

Browse files
committed
tests: use max-llvm-major-version instead of ignore-llvm-version range like N - 99
For tests that use `ignore-llvm-version: N - M`, replace that with `max-llvm-major-version: N-1`.
1 parent 0038718 commit f41e1cf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: tests/assembly/riscv-soft-abi-with-float-features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//@ compile-flags: --target riscv64imac-unknown-none-elf -Ctarget-feature=+f,+d
33
//@ needs-llvm-components: riscv
44
//@ revisions: LLVM-PRE-20 LLVM-POST-20
5-
//@ [LLVM-PRE-20] ignore-llvm-version: 20 - 99
5+
//@ [LLVM-PRE-20] max-llvm-major-version: 19
66
//@ [LLVM-POST-20] min-llvm-version: 20
77

88
#![feature(no_core, lang_items, f16)]

Diff for: tests/assembly/x86_64-cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ revisions: DEBUG LLVM-PRE-20-OPTIM LLVM-20-OPTIM
22
//@ [DEBUG] compile-flags: -C opt-level=0
33
//@ [LLVM-PRE-20-OPTIM] compile-flags: -C opt-level=3
4-
//@ [LLVM-PRE-20-OPTIM] ignore-llvm-version: 20 - 99
4+
//@ [LLVM-PRE-20-OPTIM] max-llvm-major-version: 19
55
//@ [LLVM-20-OPTIM] compile-flags: -C opt-level=3
66
//@ [LLVM-20-OPTIM] min-llvm-version: 20
77
//@ assembly-output: emit-asm

Diff for: tests/codegen/branch-protection-old-llvm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//@ [LEAF] compile-flags: -Z branch-protection=pac-ret,leaf
88
//@ [BKEY] compile-flags: -Z branch-protection=pac-ret,b-key
99
//@ compile-flags: --target aarch64-unknown-linux-gnu
10-
//@ ignore-llvm-version: 19 - 99
10+
//@ max-llvm-major-version: 18
1111

1212
#![crate_type = "lib"]
1313
#![feature(no_core, lang_items)]

Diff for: tests/codegen/call-metadata.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// scalar value.
33

44
//@ compile-flags: -O -C no-prepopulate-passes
5-
//@ ignore-llvm-version: 19 - 99
5+
//@ max-llvm-major-version: 18
66

77
#![crate_type = "lib"]
88

Diff for: tests/codegen/integer-cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
//@ revisions: llvm-pre-20 llvm-20
55
//@ [llvm-20] min-llvm-version: 20
6-
//@ [llvm-pre-20] ignore-llvm-version: 20 - 99
6+
//@ [llvm-pre-20] max-llvm-major-version: 19
77
//@ compile-flags: -C opt-level=3
88

99
#![crate_type = "lib"]

0 commit comments

Comments
 (0)