diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-10-30 13:14:34 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2024-11-14 17:44:54 +0800 |
| commit | 91fa16b211957f6d56bd2ec697c36b2301f2690a (patch) | |
| tree | c280d26decf80c181dbcd1c6d3afe7c637859dd1 /tests/codegen | |
| parent | 7eee9faea1e5dd7b836027bbfcd9cf106ad88f1a (diff) | |
| download | rust-91fa16b211957f6d56bd2ec697c36b2301f2690a.tar.gz rust-91fa16b211957f6d56bd2ec697c36b2301f2690a.zip | |
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`.
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/branch-protection-old-llvm.rs | 2 | ||||
| -rw-r--r-- | tests/codegen/call-metadata.rs | 2 | ||||
| -rw-r--r-- | tests/codegen/integer-cmp.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/branch-protection-old-llvm.rs b/tests/codegen/branch-protection-old-llvm.rs index bb3c7a4b70c..1846f35479d 100644 --- a/tests/codegen/branch-protection-old-llvm.rs +++ b/tests/codegen/branch-protection-old-llvm.rs @@ -7,7 +7,7 @@ //@ [LEAF] compile-flags: -Z branch-protection=pac-ret,leaf //@ [BKEY] compile-flags: -Z branch-protection=pac-ret,b-key //@ compile-flags: --target aarch64-unknown-linux-gnu -//@ ignore-llvm-version: 19 - 99 +//@ max-llvm-major-version: 18 #![crate_type = "lib"] #![feature(no_core, lang_items)] diff --git a/tests/codegen/call-metadata.rs b/tests/codegen/call-metadata.rs index 73c4b33e2cf..b986b4467fa 100644 --- a/tests/codegen/call-metadata.rs +++ b/tests/codegen/call-metadata.rs @@ -2,7 +2,7 @@ // scalar value. //@ compile-flags: -O -C no-prepopulate-passes -//@ ignore-llvm-version: 19 - 99 +//@ max-llvm-major-version: 18 #![crate_type = "lib"] diff --git a/tests/codegen/integer-cmp.rs b/tests/codegen/integer-cmp.rs index 8df68d8d490..9bbf243946d 100644 --- a/tests/codegen/integer-cmp.rs +++ b/tests/codegen/integer-cmp.rs @@ -3,7 +3,7 @@ //@ revisions: llvm-pre-20 llvm-20 //@ [llvm-20] min-llvm-version: 20 -//@ [llvm-pre-20] ignore-llvm-version: 20 - 99 +//@ [llvm-pre-20] max-llvm-major-version: 19 //@ compile-flags: -C opt-level=3 #![crate_type = "lib"] |
