File tree 7 files changed +7
-7
lines changed
7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
//@ known-bug: #121363
2
- //@ compile-flags: -Zmir-opt-level=5 --crate-type lib
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN --crate-type lib
3
3
4
4
#![ feature( trivial_bounds) ]
5
5
Original file line number Diff line number Diff line change 1
1
//@ known-bug: rust-lang/rust#128094
2
- //@ compile-flags: -Zmir-opt-level=5 --edition=2018
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN --edition=2018
3
3
4
4
pub enum Request {
5
5
TestSome ( T ) ,
Original file line number Diff line number Diff line change 1
1
//@ known-bug: rust-lang/rust#129095
2
- //@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
3
3
4
4
pub fn function_with_bytes < const BYTES : & ' static [ u8 ; 4 ] > ( ) -> & ' static [ u8 ] {
5
5
BYTES
Original file line number Diff line number Diff line change 1
1
//@ known-bug: rust-lang/rust#129109
2
- //@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN -Zvalidate-mir
3
3
4
4
extern "C" {
5
5
pub static mut symbol: [ i8 ] ;
Original file line number Diff line number Diff line change 1
1
//@ known-bug: #130970
2
- //@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN -Zvalidate-mir
3
3
4
4
fn main ( ) {
5
5
extern "C" {
Original file line number Diff line number Diff line change 1
1
//@ known-bug: #131347
2
- //@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
3
3
4
4
struct S ;
5
5
static STUFF : [ i8 ] = [ 0 ; S :: N ] ;
Original file line number Diff line number Diff line change 1
1
//@ known-bug: #131507
2
- //@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
2
+ //@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
3
3
#![ feature( non_lifetime_binders) ]
4
4
5
5
fn brick ( )
You can’t perform that action at this time.
0 commit comments