about summary refs log tree commit diff
path: root/tests/codegen/vec-shrink-panik.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-03-15 18:43:19 -0700
committerJosh Stone <jistone@redhat.com>2024-03-17 10:11:04 -0700
commit29430554f65619007f004e7941b7c2efb6465dbf (patch)
tree8c1c25b65e50d352351ebcf59d217c048a722065 /tests/codegen/vec-shrink-panik.rs
parent35dfc67d94c47a6c6ae28c46e7dc1c547f772485 (diff)
downloadrust-29430554f65619007f004e7941b7c2efb6465dbf.tar.gz
rust-29430554f65619007f004e7941b7c2efb6465dbf.zip
Update the minimum external LLVM to 17
Diffstat (limited to 'tests/codegen/vec-shrink-panik.rs')
-rw-r--r--tests/codegen/vec-shrink-panik.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/codegen/vec-shrink-panik.rs b/tests/codegen/vec-shrink-panik.rs
index 4e996b234f9..4b798fe6c9c 100644
--- a/tests/codegen/vec-shrink-panik.rs
+++ b/tests/codegen/vec-shrink-panik.rs
@@ -1,8 +1,5 @@
-//@ revisions: old new
 // LLVM 17 realizes double panic is not possible and doesn't generate calls
 // to panic_cannot_unwind.
-//@ [old]ignore-llvm-version: 17 - 99
-//@ [new]min-llvm-version: 17
 //@ compile-flags: -O
 //@ ignore-debug: plain old debug assertions
 //@ needs-unwind
@@ -23,14 +20,6 @@ pub fn shrink_to_fit(vec: &mut Vec<u32>) {
 #[no_mangle]
 pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
     // CHECK-NOT: panic
-
-    // Call to panic_cannot_unwind in case of double-panic is expected
-    // on LLVM 16 and older, but other panics are not.
-    // old: filter
-    // old-NEXT: ; call core::panicking::panic_cannot_unwind
-    // old-NEXT: panic_cannot_unwind
-
-    // CHECK-NOT: panic
     vec.into_boxed_slice()
 }
 
@@ -40,6 +29,3 @@ pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> {
     // CHECK-NOT: panic
     iter.iter().copied().collect()
 }
-
-// old: ; core::panicking::panic_cannot_unwind
-// old: declare void @{{.*}}panic_cannot_unwind