crash tests: use individual mir opts instead of mir-opt-level where easily possible
This commit is contained in:
parent
f415c07494
commit
8d5236fa1c
7 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: #121363
|
//@ known-bug: #121363
|
||||||
//@ compile-flags: -Zmir-opt-level=5 --crate-type lib
|
//@ compile-flags: -Zmir-enable-passes=+GVN --crate-type lib
|
||||||
|
|
||||||
#![feature(trivial_bounds)]
|
#![feature(trivial_bounds)]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: rust-lang/rust#128094
|
//@ known-bug: rust-lang/rust#128094
|
||||||
//@ compile-flags: -Zmir-opt-level=5 --edition=2018
|
//@ compile-flags: -Zmir-enable-passes=+GVN --edition=2018
|
||||||
|
|
||||||
pub enum Request {
|
pub enum Request {
|
||||||
TestSome(T),
|
TestSome(T),
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: rust-lang/rust#129095
|
//@ known-bug: rust-lang/rust#129095
|
||||||
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
|
||||||
|
|
||||||
pub fn function_with_bytes<const BYTES: &'static [u8; 4]>() -> &'static [u8] {
|
pub fn function_with_bytes<const BYTES: &'static [u8; 4]>() -> &'static [u8] {
|
||||||
BYTES
|
BYTES
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: rust-lang/rust#129109
|
//@ known-bug: rust-lang/rust#129109
|
||||||
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zvalidate-mir
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub static mut symbol: [i8];
|
pub static mut symbol: [i8];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: #130970
|
//@ known-bug: #130970
|
||||||
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zvalidate-mir
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: #131347
|
//@ known-bug: #131347
|
||||||
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
|
||||||
|
|
||||||
struct S;
|
struct S;
|
||||||
static STUFF: [i8] = [0; S::N];
|
static STUFF: [i8] = [0; S::N];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//@ known-bug: #131507
|
//@ known-bug: #131507
|
||||||
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
|
||||||
#![feature(non_lifetime_binders)]
|
#![feature(non_lifetime_binders)]
|
||||||
|
|
||||||
fn brick()
|
fn brick()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue