about summary refs log tree commit diff
path: root/tests/codegen/integer-cmp.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-10-30 13:14:34 +0800
committerJieyou Xu <jieyouxu@outlook.com>2024-11-14 17:44:54 +0800
commit91fa16b211957f6d56bd2ec697c36b2301f2690a (patch)
treec280d26decf80c181dbcd1c6d3afe7c637859dd1 /tests/codegen/integer-cmp.rs
parent7eee9faea1e5dd7b836027bbfcd9cf106ad88f1a (diff)
downloadrust-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/integer-cmp.rs')
-rw-r--r--tests/codegen/integer-cmp.rs2
1 files changed, 1 insertions, 1 deletions
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"]