about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-11 07:05:28 +0200
committerGitHub <noreply@github.com>2023-05-11 07:05:28 +0200
commitacae72e4936a3a305564992a458fd4d03b9b1d0f (patch)
treedee0cf5a5def4f831540570f537acf02b9c89665
parent39761b0cf9c603beb7862e6c7cbb796defb2be90 (diff)
parentfbe479558c6ceac9065571842ab34dcd68375184 (diff)
downloadrust-acae72e4936a3a305564992a458fd4d03b9b1d0f.tar.gz
rust-acae72e4936a3a305564992a458fd4d03b9b1d0f.zip
Rollup merge of #111385 - durin42:vec-panik-17, r=Amanieu
vec-shrink-panik: update expectations to work on LLVM 17

For some reason, the called function is `cleanup` on LLVM 17 instead of `filter`.

r? `@Amanieu`
-rw-r--r--tests/codegen/vec-shrink-panik.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/vec-shrink-panik.rs b/tests/codegen/vec-shrink-panik.rs
index 4e5d8dc0632..88b7edff260 100644
--- a/tests/codegen/vec-shrink-panik.rs
+++ b/tests/codegen/vec-shrink-panik.rs
@@ -25,7 +25,7 @@ pub fn issue71861(vec: Vec<u32>) -> Box<[u32]> {
 
     // Call to panic_cannot_unwind in case of double-panic is expected
     // on LLVM 16 and older, but other panics are not.
-    // CHECK: filter
+    // old: filter
     // old-NEXT: ; call core::panicking::panic_cannot_unwind
     // old-NEXT: panic_cannot_unwind
 
@@ -40,7 +40,7 @@ pub fn issue75636<'a>(iter: &[&'a str]) -> Box<[&'a str]> {
 
     // Call to panic_cannot_unwind in case of double-panic is expected,
     // on LLVM 16 and older, but other panics are not.
-    // CHECK: filter
+    // old: filter
     // old-NEXT: ; call core::panicking::panic_cannot_unwind
     // old-NEXT: panic_cannot_unwind