Remove some only- clauses from mir-opt tests
This commit is contained in:
parent
766bdce744
commit
68f284f337
@ -1,9 +1,8 @@
|
||||
//! Tests that unwinding from an asm block is caught and forced to abort
|
||||
//! when `-C panic=abort`.
|
||||
|
||||
//@ only-x86_64
|
||||
//@ compile-flags: -C panic=abort
|
||||
//@ no-prefer-dynamic
|
||||
//@ needs-asm-support
|
||||
|
||||
#![feature(asm_unwind)]
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -Zmir-opt-level=2 -Cdebuginfo=2
|
||||
//@ needs-unwind
|
||||
//@ only-x86_64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(step_trait)]
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
|
||||
// Checks that we do not have any branches in the MIR for the two tested functions.
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -Zmir-opt-level=2 -g
|
||||
//@ needs-unwind
|
||||
//@ only-64bit
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2 -Zinline-mir
|
||||
//@ only-64bit
|
||||
//@ ignore-debug the standard library debug assertions leak into this test
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
@ -3,9 +3,9 @@
|
||||
fn ezmap(_1: Option<i32>) -> Option<i32> {
|
||||
debug x => _1;
|
||||
let mut _0: std::option::Option<i32>;
|
||||
scope 1 (inlined map::<i32, i32, {closure@$DIR/simple_option_map.rs:18:12: 18:15}>) {
|
||||
scope 1 (inlined map::<i32, i32, {closure@$DIR/simple_option_map.rs:17:12: 17:15}>) {
|
||||
debug slf => _1;
|
||||
debug f => const ZeroSized: {closure@$DIR/simple_option_map.rs:18:12: 18:15};
|
||||
debug f => const ZeroSized: {closure@$DIR/simple_option_map.rs:17:12: 17:15};
|
||||
let mut _2: isize;
|
||||
let _3: i32;
|
||||
let mut _4: i32;
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
|
||||
#[inline(always)]
|
||||
fn map<T, U, F>(slf: Option<T>, f: F) -> Option<U>
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
//@ ignore-debug the standard library debug assertions leak into this test
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
//@ ignore-debug the standard library debug assertions leak into this test
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// skip-filecheck
|
||||
//@ compile-flags: -O -C debuginfo=0 -Zmir-opt-level=2
|
||||
//@ only-64bit
|
||||
|
||||
// Track the status of MIR optimizations simplifying `Ok(res?)` for both the old and new desugarings
|
||||
// of that syntax.
|
||||
|
Loading…
Reference in New Issue
Block a user