Update the minimum external LLVM to 17
This commit is contained in:
parent
35dfc67d94
commit
29430554f6
16 changed files with 20 additions and 168 deletions
|
|
@ -1,5 +1,4 @@
|
|||
//@ compile-flags: -O
|
||||
//@ min-llvm-version: 17
|
||||
//@ only-x86_64-unknown-linux-gnu
|
||||
|
||||
// We want to check that this function does not mis-optimize to loop jumping.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// Verify that move before the call of the function with noalias, nocapture, readonly.
|
||||
// #107436
|
||||
//@ compile-flags: -O
|
||||
//@ min-llvm-version: 17
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
//@ compile-flags: -O
|
||||
//@ min-llvm-version: 17
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -22,14 +19,6 @@ pub fn shrink_to_fit(vec: &mut Vec<u32>) {
|
|||
// CHECK-LABEL: @issue71861
|
||||
#[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
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ include ../tools.mk
|
|||
|
||||
# Verify that the impl_* symbols are preserved. #108030
|
||||
# only-x86_64-unknown-linux-gnu
|
||||
# min-llvm-version: 17
|
||||
|
||||
all:
|
||||
$(RUSTC) -Cdebuginfo=0 -Copt-level=3 lib.rs
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
//@ needs-llvm-components: webassembly
|
||||
//@ min-llvm-version: 17
|
||||
//@ compile-flags: --print=target-cpus --target=wasm32-unknown-unknown
|
||||
//@ check-pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue